langchain_community.utilities.pebblo.IndexedDocument¶

class langchain_community.utilities.pebblo.IndexedDocument[source]¶

Bases: Document

Pebblo Indexed Document.

Pass page_content in as positional or named arg.

param id: Optional[str] = None¶

An optional identifier for the document.

Ideally this should be unique across the document collection and formatted as a UUID, but this will not be enforced.

New in version 0.2.11.

param metadata: dict [Optional]¶

Arbitrary metadata associated with the content.

param page_content: str [Required]¶

String text.

param pb_id: str [Required]¶

Unique ID of the document.

param type: Literal['Document'] = 'Document'¶