Package Methods (0.2.0)

Summary of entries of Methods for langchain-google-datastore.

langchain_google_datastore.chat_message_history.DatastoreChatMessageHistory.add_message

add_message(message: langchain_core.messages.base.BaseMessage) -> None

langchain_google_datastore.chat_message_history.DatastoreChatMessageHistory.clear

clear() -> None

langchain_google_datastore.document_loader.DatastoreLoader.lazy_load

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

langchain_google_datastore.document_loader.DatastoreLoader.load

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

langchain_google_datastore.document_loader.DatastoreSaver

DatastoreSaver(kind: Optional[str] = None, client: Optional[Client] = None)

Document Saver for Google Cloud Firestore in Datastore Mode.

See more: langchain_google_datastore.document_loader.DatastoreSaver

langchain_google_datastore.document_loader.DatastoreSaver.delete_documents

delete_documents(
    documents: typing.List[langchain_core.documents.base.Document],
    keys: typing.Optional[typing.List[typing.List[str]]] = None,
) -> None

Delete documents from the Datastore database.

See more: langchain_google_datastore.document_loader.DatastoreSaver.delete_documents

langchain_google_datastore.document_loader.DatastoreSaver.upsert_documents

upsert_documents(
    documents: typing.List[langchain_core.documents.base.Document],
) -> None

Create / merge documents into the Firestore database in Datastore Mode.

See more: langchain_google_datastore.document_loader.DatastoreSaver.upsert_documents