on1onmangoes commited on
Commit
bbc0512
·
verified ·
1 Parent(s): 4cceeb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def stream_chat_with_rag(
42
  # Prepare the data to send to the API
43
  api_payload = {
44
  "message": conversation, # Include the history in the message,
45
- "history": history
46
  "client_name": client_name,
47
  "system_prompt": "", # Optionally set to empty if included in the message
48
  "num_retrieved_docs": num_retrieved_docs,
 
42
  # Prepare the data to send to the API
43
  api_payload = {
44
  "message": conversation, # Include the history in the message,
45
+ "history": history,
46
  "client_name": client_name,
47
  "system_prompt": "", # Optionally set to empty if included in the message
48
  "num_retrieved_docs": num_retrieved_docs,