Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ def chat_with_agents(user_input, history):
|
|
| 45 |
# Step 1: RAG Agent retrieves context (doc-based information)
|
| 46 |
chat_result = ragproxyagent.initiate_chat(
|
| 47 |
assistant,
|
| 48 |
-
message=
|
| 49 |
problem=user_input,
|
| 50 |
n_results=3,
|
| 51 |
max_turns=1,
|
|
@@ -76,5 +76,4 @@ chat_interface = gr.ChatInterface(
|
|
| 76 |
)
|
| 77 |
|
| 78 |
if __name__ == "__main__":
|
| 79 |
-
chat_interface.launch()
|
| 80 |
-
|
|
|
|
| 45 |
# Step 1: RAG Agent retrieves context (doc-based information)
|
| 46 |
chat_result = ragproxyagent.initiate_chat(
|
| 47 |
assistant,
|
| 48 |
+
message=ragproxyagent.message_generator,
|
| 49 |
problem=user_input,
|
| 50 |
n_results=3,
|
| 51 |
max_turns=1,
|
|
|
|
| 76 |
)
|
| 77 |
|
| 78 |
if __name__ == "__main__":
|
| 79 |
+
chat_interface.launch()
|
|
|