Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|