Spaces:
Running
Running
File size: 359 Bytes
e8cbb38 b1d65a7 e8cbb38 b1d65a7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | from typing import TypedDict, Optional, List
class GraphState(TypedDict):
query: str
doc_id:str
route: Optional[str]
context: Optional[str]
sources: Optional[List]
score: Optional[float]
history: Optional[str]
evaluation: Optional[dict]
general_answer: Optional[str]
final_answer: Optional[str] |