Class FirestoreLoader (0.2.1)

FirestoreLoader(
    source: Query | CollectionGroup | DocumentReference | str,
    page_content_fields: List[str] = [],
    metadata_fields: List[str] = [],
    client: Client = None,
)

Document Loader for Google Cloud Firestore.

Methods

lazy_load

lazy_load() -> typing.Iterator[langchain_core.documents.base.Document]

A lazy loader for Documents.

load

load() -> typing.List[langchain_core.documents.base.Document]

Load Documents.