Skip to content

ResultData

Source code in docs_src/capo_qconnect/types/result_data.py
class ResultData(TypedDict, closed=True):
    result_id: "capo_qconnect.types.uuid.Uuid"
    """<p>The identifier of the result data.</p>"""
    document: NotRequired["capo_qconnect.types.document.Document"]
    """<p>The document.</p>"""
    relevance_score: "capo_qconnect.types.relevance_score.RelevanceScore"
    """<p>The relevance score of the results.</p>"""
    data: NotRequired["capo_qconnect.types.data_summary.DataSummary"]
    """<p> Summary of the recommended content.</p>"""
    type: NotRequired["capo_qconnect.types.query_result_type.QueryResultType"]
    """<p>The type of the query result.</p>"""

data instance-attribute

data: NotRequired[DataSummary]

Summary of the recommended content.

document instance-attribute

document: NotRequired[Document]

The document.

relevance_score instance-attribute

relevance_score: RelevanceScore

The relevance score of the results.

result_id instance-attribute

result_id: Uuid

The identifier of the result data.

type instance-attribute

type: NotRequired[QueryResultType]

The type of the query result.