post https://gw.ask-ai.co/external-search/ask
This endpoint serves as the core interface for the Ask-AI API, designed to process and respond to user questions. Upon submission of a question, this endpoint evaluates the query and returns a structured response containing potential answers
The response will hold:
candidate_answers
- A list of candidate answers to the submitted questionquestion_id
- A unique identifier assigned to the questionexpect_direct_answer
- A boolean flag indicating whether the question is expected to get a generative answer. If this flag istrue
, please use Get External Direct Answer API in order to get the generative answer stream