Skip to content

RelevanceFeedback

Source code in docs_src/capo_kendra/types/relevance_feedback.py
class RelevanceFeedback(TypedDict, closed=True):
    result_id: "capo_kendra.types.result_id.ResultId"
    """<p>The identifier of the search result that the user provided relevance feedback for.</p>"""
    relevance_value: "capo_kendra.types.relevance_type.RelevanceType"
    """<p>Whether the document was relevant or not relevant to the search.</p>"""

relevance_value instance-attribute

relevance_value: RelevanceType

Whether the document was relevant or not relevant to the search.

result_id instance-attribute

result_id: ResultId

The identifier of the search result that the user provided relevance feedback for.