Skip to content

Qbusiness  >  Structures  >  RelevantContent

RelevantContent

Structure Class

RelevantContent dataclass

Represents a piece of content that is relevant to a search query.

Attributes

content class-attribute instance-attribute
content: str | None = None

The actual content of the relevant item.

document_attributes class-attribute instance-attribute
document_attributes: list[DocumentAttribute] | None = None

Additional attributes of the document containing the relevant content.

document_id class-attribute instance-attribute
document_id: str | None = None

The unique identifier of the document containing the relevant content.

document_title class-attribute instance-attribute
document_title: str | None = None

The title of the document containing the relevant content.

document_uri class-attribute instance-attribute
document_uri: str | None = None

The URI of the document containing the relevant content.

score_attributes class-attribute instance-attribute
score_attributes: ScoreAttributes | None = None

Attributes related to the relevance score of the content.