Nyanfa commited on
Commit
a4a272c
1 Parent(s): bbd6eac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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