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