Spaces:
Running
Running
Update main.py
Browse files
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 :
|
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))
|