Package Classes (0.13.0)

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

API documentation for indexes.QueryOptions class.

StrategyMixin

API documentation for indexes.StrategyMixin class.

Modules

chat_message_history

API documentation for chat_message_history module.

engine

API documentation for engine module.

indexes

API documentation for indexes module.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.