RelevantContent¶
Structure Class¶
RelevantContent
dataclass
¶
Bases: _SerdeShape
Represents a piece of content that is relevant to a search query.
Attributes¶
content
class-attribute
instance-attribute
¶
content: str | None = ...
The actual content of the relevant item.
document_attributes
class-attribute
instance-attribute
¶
document_attributes: list[DocumentAttribute] | None = ...
Additional attributes of the document containing the relevant content.
document_id
class-attribute
instance-attribute
¶
document_id: str | None = ...
The unique identifier of the document containing the relevant content.
document_title
class-attribute
instance-attribute
¶
document_title: str | None = ...
The title of the document containing the relevant content.
document_uri
class-attribute
instance-attribute
¶
document_uri: str | None = ...
The URI of the document containing the relevant content.
score_attributes
class-attribute
instance-attribute
¶
score_attributes: ScoreAttributes | None = ...
Attributes related to the relevance score of the content.