Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ def extract_url_number(text):
|
|
137 |
matches = re.findall(pattern, text)
|
138 |
return matches
|
139 |
|
140 |
-
def conversation(qa_chain, message, history):
|
141 |
formatted_chat_history = format_chat_history(message, history)
|
142 |
response = qa_with_source.invoke(message)
|
143 |
print(response)
|
|
|
137 |
matches = re.findall(pattern, text)
|
138 |
return matches
|
139 |
|
140 |
+
def conversation(qa_chain, message, history, metadata_output):
|
141 |
formatted_chat_history = format_chat_history(message, history)
|
142 |
response = qa_with_source.invoke(message)
|
143 |
print(response)
|