Delete state.py
Browse files
state.py
DELETED
|
@@ -1,29 +0,0 @@
|
|
| 1 |
-
from typing import TypedDict, List, Dict, Any, Optional
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
class QuestionState(TypedDict):
|
| 5 |
-
# Unique identifier for the task
|
| 6 |
-
task_id: str
|
| 7 |
-
|
| 8 |
-
# The question being asked
|
| 9 |
-
question: str
|
| 10 |
-
|
| 11 |
-
# Defines the kind of tool needed to answer question
|
| 12 |
-
question_category: str
|
| 13 |
-
|
| 14 |
-
# Level of difficulty or complexity of the task
|
| 15 |
-
level: Optional[str]
|
| 16 |
-
|
| 17 |
-
# Filename of any associated file (e.g., image, document)
|
| 18 |
-
file_name: Optional[str]
|
| 19 |
-
|
| 20 |
-
# Additional context or metadata related to the task
|
| 21 |
-
#context: Optional[Dict[str, Any]]
|
| 22 |
-
context: Optional[str]
|
| 23 |
-
|
| 24 |
-
# The expected answer or response to the question
|
| 25 |
-
expected_answer: Optional[str]
|
| 26 |
-
|
| 27 |
-
# Metadata for tracking processing
|
| 28 |
-
messages: List[Dict[str, Any]] # Track conversation with LLM for analysis
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|