Skip to content

RerankTextDocument

Structure Class

RerankTextDocument dataclass

Bases: _SerdeShape

Contains information about a text document to rerank.

Attributes

text class-attribute instance-attribute
text: str | None = ...

The text of the document.