Spaces:
Sleeping
Sleeping
File size: 381 Bytes
60ce079 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | from typing import Dict, List, Any, TypedDict
class AgentState(TypedDict):
query: str
expanded_query: str
context: List[Dict[str, Any]]
response: str
precision_score: float
groundedness_score: float
groundedness_loop_count: int
precision_loop_count: int
feedback: str
query_feedback: str
groundedness_check: bool
loop_max_iter: int
|