Summary of entries of Classes for langchain-google-cloud-sql-pg.
Classes
PostgresChatMessageHistory
Chat message history stored in an Cloud SQL for PostgreSQL database.
Column
Column(name: 'str', data_type: 'str', nullable: 'bool' = True)
PostgresEngine
A class for managing connections to a Cloud SQL for Postgres database.
BaseIndex
BaseIndex(name: Optional[str] = None, index_type: str = 'base', distance_strategy: langchain_google_cloud_sql_pg.indexes.DistanceStrategy =
DistanceStrategy
Enumerator of the Distance strategies.
ExactNearestNeighbor
ExactNearestNeighbor(name: Optional[str] = None, index_type: str = 'exactnearestneighbor', distance_strategy: langchain_google_cloud_sql_pg.indexes.DistanceStrategy =
HNSWIndex
HNSWIndex(name: Optional[str] = None, index_type: str = 'hnsw', distance_strategy: langchain_google_cloud_sql_pg.indexes.DistanceStrategy =
HNSWQueryOptions
HNSWQueryOptions(ef_search: int = 40)
IVFFlatIndex
IVFFlatIndex(name: Optional[str] = None, index_type: str = 'ivfflat', distance_strategy: langchain_google_cloud_sql_pg.indexes.DistanceStrategy =
IVFFlatQueryOptions
IVFFlatQueryOptions(probes: int = 1)
QueryOptions
QueryOptions()
StrategyMixin
StrategyMixin(operator: str, search_function: str, index_function: str)
PostgresDocumentSaver
A class for saving langchain documents into a PostgreSQL database table.
PostgresLoader
Load documents from PostgreSQL`.
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
.
PostgresVectorStore
Google Cloud SQL for PostgreSQL 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.