Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -174,6 +174,9 @@ def generate_response_with_prompt(context, question):
|
|
174 |
|
175 |
|
176 |
|
|
|
|
|
|
|
177 |
|
178 |
# Define the function to generate a hybrid response using Neo4j and other retrieval methods
|
179 |
def retriever(question: str):
|
|
|
174 |
|
175 |
|
176 |
|
177 |
+
# Function to reset the state
|
178 |
+
def reset_state():
|
179 |
+
return None, "" # Reset the state and clear input text
|
180 |
|
181 |
# Define the function to generate a hybrid response using Neo4j and other retrieval methods
|
182 |
def retriever(question: str):
|