Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -70,16 +70,16 @@ def main():
|
|
70 |
|
71 |
|
72 |
class GraphState(TypedDict):
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
|
84 |
question: str
|
85 |
generation: str
|
|
|
70 |
|
71 |
|
72 |
class GraphState(TypedDict):
|
73 |
+
"""
|
74 |
+
Represents the state of our graph.
|
75 |
+
|
76 |
+
Attributes:
|
77 |
+
question: question
|
78 |
+
generation: LLM generation
|
79 |
+
search: whether to add search
|
80 |
+
documents: list of documents
|
81 |
+
generations_count : generations count
|
82 |
+
"""
|
83 |
|
84 |
question: str
|
85 |
generation: str
|