mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-09 14:11:33 +02:00
Fix HTTP 422 error for api_inference_sample.py (#1868)
This commit is contained in:
@ -33,6 +33,7 @@ def process_question(danswer_url: str, question: str, api_key: str | None) -> No
|
|||||||
"message": question,
|
"message": question,
|
||||||
"chat_session_id": chat_session_id,
|
"chat_session_id": chat_session_id,
|
||||||
"parent_message_id": None,
|
"parent_message_id": None,
|
||||||
|
"file_descriptors": [],
|
||||||
# Default Question Answer prompt
|
# Default Question Answer prompt
|
||||||
"prompt_id": 0,
|
"prompt_id": 0,
|
||||||
# Not specifying any specific docs to chat to, we want to run a search
|
# Not specifying any specific docs to chat to, we want to run a search
|
||||||
|
Reference in New Issue
Block a user