dav74 commited on
Commit
8fff007
1 Parent(s): 72830e2

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -91,7 +91,7 @@ def format_historical(hist):
91
 
92
  class GraphState(TypedDict):
93
  messages: Annotated[list[AnyMessage], add_messages]
94
- documents : List[str]
95
 
96
  def retrieve(state : GraphState):
97
  documents = format_docs(retriever.invoke(state['messages'][-1].content))
 
91
 
92
  class GraphState(TypedDict):
93
  messages: Annotated[list[AnyMessage], add_messages]
94
+ documents : str
95
 
96
  def retrieve(state : GraphState):
97
  documents = format_docs(retriever.invoke(state['messages'][-1].content))