Spaces:
Sleeping
Sleeping
File size: 399 Bytes
f154798 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
from typing import TypedDict
import sys
sys.dont_write_bytecode = True
class GraphState(TypedDict):
"""
Represents the state of our graph.
Attributes:
question: question
generation: LLM generation
search_query: revised question for web search
context: web_search result
"""
question: str
generation: str
search_query: str
context: str |