Skip to main content

ResearchAnswer

Represents a complete research answer.

Properties​

PropertyRequiredTypeDescription
statusTrueStringThe status code indicating the type of answer, see below.
partsTrueList[ResearchAnswerPart]The parts that make up the research answer.

The status values:

StatusDescription
answerA normal answer from the research agent. The answer parts may include a leading warning part if the query type is not fully supported (see ResearchAnswerPart types).
direct-answerAn answer produced without document retrieval, e.g. in response to greetings or meta-questions about the assistant (see ResearchAnswerPart types).
error:insufficient-infoAn error state. It indicates that the research agent didn't find enough relevant articles.
error:query-requiredAn error state. It indicates that the query from the user wasn't sufficient.
error:llm-errorAn error state. It indicates that an error has occurred while calling the LLM.