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).
confirmationA special answer from the research agent, it requires a confirmation query from the user in the follow-up request. Such as choosing one item from the multiple options given.
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.