Package Classes (0.14.1)
Summary of entries of Classes for langchain-google-cloud-sql-pg.
Classes
Chat message history stored in an Cloud SQL for PostgreSQL database.
Column(name: 'str', data_type: 'str', nullable: 'bool' = True)
A class for managing connections to a Cloud SQL for Postgres database.
Enumerator of the Distance strategies.
HNSWQueryOptions(ef_search: int = 40)
IVFFlatQueryOptions(probes: int = 1)
API documentation for indexes.QueryOptions
class.
API documentation for indexes.StrategyMixin
class.
Modules
API documentation for chat_message_history
module.
API documentation for engine
module.
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-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Package Classes (0.14.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.14.1 (latest)](/python/docs/reference/langchain-google-cloud-sql-pg/latest/summary_class)\n- [0.14.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.14.0/summary_class)\n- [0.13.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.13.0/summary_class)\n- [0.12.1](/python/docs/reference/langchain-google-cloud-sql-pg/0.12.1/summary_class)\n- [0.11.1](/python/docs/reference/langchain-google-cloud-sql-pg/0.11.1/summary_class)\n- [0.10.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.10.0/summary_class)\n- [0.9.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.9.0/summary_class)\n- [0.8.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.8.0/summary_class)\n- [0.7.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.7.0/summary_class)\n- [0.6.1](/python/docs/reference/langchain-google-cloud-sql-pg/0.6.1/summary_class)\n- [0.5.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.5.0/summary_class)\n- [0.4.1](/python/docs/reference/langchain-google-cloud-sql-pg/0.4.1/summary_class) \nSummary of entries of Classes for langchain-google-cloud-sql-pg. \n\nClasses\n-------\n\n### [PostgresChatMessageHistory](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.chat_message_history.PostgresChatMessageHistory)\n\nChat message history stored in an Cloud SQL for PostgreSQL database.\n\n### [Column](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.engine.Column)\n\nColumn(name: 'str', data_type: 'str', nullable: 'bool' = True)\n\n### [PostgresEngine](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.engine.PostgresEngine)\n\nA class for managing connections to a Cloud SQL for Postgres database.\n\n### [BaseIndex](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.BaseIndex)\n\nBaseIndex(name: Optional\\[str\\] = None, index_type: str = 'base', distance_strategy: [langchain_google_cloud_sql_pg.indexes.DistanceStrategy](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.DistanceStrategy) =\n\n\n### [DistanceStrategy](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.DistanceStrategy)\n\nEnumerator of the Distance strategies.\n\n### [ExactNearestNeighbor](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.ExactNearestNeighbor)\n\nExactNearestNeighbor(name: Optional\\[str\\] = None, index_type: str = 'exactnearestneighbor', distance_strategy: [langchain_google_cloud_sql_pg.indexes.DistanceStrategy](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.DistanceStrategy) =\n\n\n### [HNSWIndex](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.HNSWIndex)\n\nHNSWIndex(name: Optional\\[str\\] = None, index_type: str = 'hnsw', distance_strategy: [langchain_google_cloud_sql_pg.indexes.DistanceStrategy](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.DistanceStrategy) =\n\n\n### [HNSWQueryOptions](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.HNSWQueryOptions)\n\nHNSWQueryOptions(ef_search: int = 40)\n\n### [IVFFlatIndex](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.IVFFlatIndex)\n\nIVFFlatIndex(name: Optional\\[str\\] = None, index_type: str = 'ivfflat', distance_strategy: [langchain_google_cloud_sql_pg.indexes.DistanceStrategy](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.DistanceStrategy) =\n\n\n### [IVFFlatQueryOptions](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.IVFFlatQueryOptions)\n\nIVFFlatQueryOptions(probes: int = 1)\n\n### [QueryOptions](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.QueryOptions)\n\nAPI documentation for `indexes.QueryOptions` class.\n\n### [StrategyMixin](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.StrategyMixin)\n\nAPI documentation for `indexes.StrategyMixin` class.\n\nModules\n-------\n\n### [chat_message_history](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.chat_message_history)\n\nAPI documentation for `chat_message_history` module.\n\n### [engine](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.engine)\n\nAPI documentation for `engine` module.\n\n### [indexes](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes)\n\nAPI documentation for `indexes` module."]]