Handle New Chat Message

This endpoint is both used for all the following purposes:

  • Sending a new message in the session
  • Regenerating a message in the session (just send the same one again)
  • Editing a message (similar to regenerating but sending a different message)

To avoid extra overhead/latency, this assumes (and checks) that previous messages on the path have already been set as latest

post/chat/send-message

Request

Request body

chat_session_idinteger required
parent_message_idinteger
messagestring required
prompt_idinteger
search_doc_idsinteger[]
query_overridestring
no_ai_answerboolean

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.