Spaces:
Paused
Paused
Ashvanth.S
commited on
Commit
·
8d04b45
1
Parent(s):
0495840
Minor changes in file
Browse files
utils/gradio_interface.py
CHANGED
@@ -7,7 +7,7 @@ def create_gradio_interface(app: FastAPI, conversational_rag_chain, agent):
|
|
7 |
if system == "RAG":
|
8 |
response = conversational_rag_chain.invoke(
|
9 |
{"input": message},
|
10 |
-
config={"configurable": {"session_id": "
|
11 |
)
|
12 |
return response["answer"]
|
13 |
elif system == "Agent":
|
|
|
7 |
if system == "RAG":
|
8 |
response = conversational_rag_chain.invoke(
|
9 |
{"input": message},
|
10 |
+
config={"configurable": {"session_id": "rag_session"}}
|
11 |
)
|
12 |
return response["answer"]
|
13 |
elif system == "Agent":
|