Package Classes (0.14.0)

Summary of entries of Classes for langchain-google-alloydb-pg.

Classes

AlloyDBChatMessageHistory

Chat message history stored in an AlloyDB for PostgreSQL database.

AlloyDBEngine

A class for managing connections to a AlloyDB database.

IVFIndex

IVFIndex(name: Optional[str] = None, index_type: str = 'ivf', distance_strategy: langchain_postgres.v2.indexes.DistanceStrategy =

IVFQueryOptions

IVFQueryOptions(probes: int = 1)

ScaNNIndex

ScaNNIndex(name: Optional[str] = None, index_type: str = 'ScaNN', distance_strategy: langchain_postgres.v2.indexes.DistanceStrategy =

ScaNNQueryOptions

ScaNNQueryOptions(num_leaves_to_search: int = 1, pre_reordering_num_neighbors: int = -1)

AlloyDBDocumentSaver

A class for saving langchain documents into a PostgreSQL database table.

AlloyDBLoader

Load documents from AlloyDB`.

Each document represents one row of the result. The content_columns are written into the content_columns of the document. The metadata_columns are written into the metadata_columns of the document. By default, first columns is written into the page_content and everything else into the metadata.

AlloyDBVectorStore

Google AlloyDB Vector Store class

Modules

chat_message_history

API documentation for chat_message_history module.

engine

API documentation for engine module.

indexes

API documentation for indexes module.

loader

API documentation for loader module.

vectorstore

API documentation for vectorstore module.