Skip to main content

aip_sdk.Document

aip_sdk.Document

A retrieved or reranked document attached to a span.

aip_sdk.Document.content​

aip_sdk.Document.content: str

No docstring is defined in the source.

aip_sdk.Document.id​

aip_sdk.Document.id: str | None = None

No docstring is defined in the source.

aip_sdk.Document.model_config​

aip_sdk.Document.model_config = ConfigDict(extra='allow')

No docstring is defined in the source.

aip_sdk.Document.score​

aip_sdk.Document.score: float | None = None

No docstring is defined in the source.