Skip to main content

ResearchResponse

Response object returned after a research request.

Properties

PropertyRequiredTypeDescription
interactionIdTrueStringID of the current interaction in the conversation.
answerTrueResearchAnswerThe answer from the research agent.
chunksTrueList[Chunk]Text chunks used for generating the answer.
paragraphsTrueList[Paragraph]Article paragraphs from which the chunk texts are taken.
articlesFalseList[Article]Articles to which the paragraphs belong. Returned only when returnArticles is true in the request.
chunkDuplicatesFalseList[ChunkDuplicate]Any duplicates of the source chunks. Returned only when returnDuplicates is true in the request.
paragraphDuplicatesFalseList[Paragraph]Article paragraphs from which duplicate chunks’ text is taken.
articleDuplicatesFalseList[ArticleDuplicate]Any duplicates of the source articles. Returned only when both returnDuplicates and returnArticles are true in the request.
historyFalseList[HistoryInteraction]History of the current conversation in an abbreviated text-only format. Returned only when returnHistory is true in the request.

Note: The chunk and paragraph id fields are only valid within a single API response. They are not global unique identifiers and carry no other meaning. They should only be used to locate chunk and paragraph objects within that response.