RecordWithAnswer
- answerType: AnswerrequiredProperties: 4
The answer paragraph (i.e. a
<p>node) whose text content can answer users' question. - productType: string
_id max length:512requiredThe unique identifier of the product whose content contains the answer.
- answerType: Answer Block
_block Properties: 5In addition to the answer paragraph, we also return the **answer block**. Answer block is the ancestor node of the answer paragraph that cover not only the answer, but also the relevant context. This is particularly useful for applications that want to show the answer itself but also the relevant context surrounding the answer. Answer block is the smallest HTML element that contains the relevant context. However, not all the content inside this node is relevant. You can use the `relevant_children_slice` to identify a portion inside this block that is relevant to the answer.
