mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-04-29 03:50:04 +00:00
v1 of transformations
This commit is contained in:
parent
e020511876
commit
02ff05b6fd
16 changed files with 389 additions and 40 deletions
|
|
@ -57,7 +57,6 @@ def chunk_condition(state: SummaryState) -> Literal["get_chunk", END]: # type:
|
|||
return END
|
||||
|
||||
|
||||
# todo: build a helper method for LLM communication on all graphs
|
||||
def call_model(state: SummaryState, config: RunnableConfig) -> dict:
|
||||
model_name = config.get("configurable", {}).get(
|
||||
"model_name", os.environ.get("SUMMARIZATION_MODEL")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue