Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -98,6 +98,7 @@ def get_ai_response(chat_history):
|
|
98 |
|
99 |
if st.session_state.get("rag_text"):
|
100 |
stream_kwargs["documents"] = documents
|
|
|
101 |
elif model in ["command-r-08-2024", "command-r-plus-08-2024"]:
|
102 |
stream_kwargs["safety_mode"] = "OFF"
|
103 |
|
|
|
98 |
|
99 |
if st.session_state.get("rag_text"):
|
100 |
stream_kwargs["documents"] = documents
|
101 |
+
stream_kwargs["citation_options"] = {"mode": "OFF"}
|
102 |
elif model in ["command-r-08-2024", "command-r-plus-08-2024"]:
|
103 |
stream_kwargs["safety_mode"] = "OFF"
|
104 |
|