ResearchAnswer
Represents a complete research answer.
Properties
| Property | Required | Type | Description |
|---|---|---|---|
| status | True | String | The status code indicating the type of answer, see below. |
| parts | True | List[ResearchAnswerPart] | The parts that make up the research answer. |
The status values:
| Status | Description |
|---|---|
| answer | A 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). |
| confirmation | A 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-info | An error state. It indicates that the research agent didn't find enough relevant articles. |
| error:query-required | An error state. It indicates that the query from the user wasn't sufficient. |
| error:llm-error | An error state. It indicates that an error has occurred while calling the LLM. |