POST
/
query
/
answer-with-quote

Authorizations

fastapiusersauth
string
cookie
required

Body

application/json
messages
object[]
required
persona_id
integer
required
chain_of_thought
boolean
default:
false
prompt_id
integer
retrieval_options
object
return_contexts
boolean
default:
false

Response

200 - application/json
answer
string
answer_valid
boolean
default:
true
chat_message_id
integer
citations
object[]
contexts
object
docs
object
error_msg
string
llm_chunks_indices
integer[]
quotes
object
rephrase
string