Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,8 @@ def stream_chat_with_rag(
|
|
42 |
|
43 |
# Call the API with the user's message
|
44 |
question = message
|
45 |
-
answer = client.predict(question=question, api_name="/run_graph")
|
|
|
46 |
|
47 |
# Debugging: Print the raw response
|
48 |
print("Raw answer from API:")
|
|
|
42 |
|
43 |
# Call the API with the user's message
|
44 |
question = message
|
45 |
+
#answer = client.predict(question=question, api_name="/run_graph")
|
46 |
+
answer = client.predict(question=question,selected_document=answer_with_rag_select_client_dropdown, api_name="/run_graph_with_namespace")
|
47 |
|
48 |
# Debugging: Print the raw response
|
49 |
print("Raw answer from API:")
|