mikail-bitik's picture
First commit for deployment
7a4d005
Raw
History Blame Contribute Delete
361 Bytes
from typing import List, TypedDict
class GraphState(TypedDict):
"""
Represents state of a graph
Attributes:
question: question
generation: LLM generation
web_search: whether to add search or not
documents: list of documents
"""
question: str
generation: str
web_search: bool
documents: List[str]