Package Classes (0.2.2)

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

Classes

AlloyDBChatMessageHistory

Chat message history stored in an AlloyDB.

AlloyDBEngine

A class for managing connections to a AlloyDB database.

Column

Column(name: 'str', data_type: 'str', nullable: 'bool' = True)

AlloyDBDocumentSaver

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

AlloyDBLoader

Load documents from Alloydb`.

Each document represents one row of the result. The content_columns are written into the content_columnsof 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

BaseIndex

BaseIndex(name: str = 'langchainvectorindex', index_type: str = 'base', distance_strategy: langchain_google_alloydb_pg.indexes.DistanceStrategy =

DistanceStrategy

Enumerator of the Distance strategies.

ExactNearestNeighbor

ExactNearestNeighbor(name: str = 'langchainvectorindex', index_type: str = 'exactnearestneighbor', distance_strategy: langchain_google_alloydb_pg.indexes.DistanceStrategy =

HNSWIndex

HNSWIndex(name: str = 'langchainvectorindex', index_type: str = 'hnsw', distance_strategy: langchain_google_alloydb_pg.indexes.DistanceStrategy =

HNSWQueryOptions

HNSWQueryOptions(ef_search: int = 40)

IVFFlatIndex

IVFFlatIndex(name: str = 'langchainvectorindex', index_type: str = 'ivfflat', distance_strategy: langchain_google_alloydb_pg.indexes.DistanceStrategy =

IVFFlatQueryOptions

IVFFlatQueryOptions(probes: int = 1)

QueryOptions

QueryOptions()

StrategyMixin

StrategyMixin(operator: str, search_function: str, index_function: str)

Modules

alloydb_chat_message_history

API documentation for alloydb_chat_message_history module.

alloydb_engine

API documentation for alloydb_engine module.

alloydb_loader

API documentation for alloydb_loader module.

alloydb_vectorstore

API documentation for alloydb_vectorstore module.

indexes

API documentation for indexes module.