v1 of transformations

This commit is contained in:
LUIS NOVO 2024-10-23 10:59:05 -03:00
parent e020511876
commit 02ff05b6fd
16 changed files with 389 additions and 40 deletions

View file

@ -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")