Pijush2023 commited on
Commit
3531263
·
verified ·
1 Parent(s): c310b4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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):