# Package Classes (0.15.0)

0.15.0 (latest) 0.14.0 0.12.0 0.11.0 0.10.0 0.9.3 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.2 Summary of entries of Classes for langchain-google-alloydb-pg.

## Classes

### [AlloyDBChatMessageHistory](https://docs.cloud.google.com/python/docs/reference/langchain-google-alloydb-pg/latest/langchain_google_alloydb_pg.chat_message_history.AlloyDBChatMessageHistory)

Chat message history stored in an AlloyDB for PostgreSQL database.

### [AlloyDBEngine](https://docs.cloud.google.com/python/docs/reference/langchain-google-alloydb-pg/latest/langchain_google_alloydb_pg.engine.AlloyDBEngine)

A class for managing connections to a AlloyDB database.

### [IVFIndex](https://docs.cloud.google.com/python/docs/reference/langchain-google-alloydb-pg/latest/langchain_google_alloydb_pg.indexes.IVFIndex)

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


### [IVFQueryOptions](https://docs.cloud.google.com/python/docs/reference/langchain-google-alloydb-pg/latest/langchain_google_alloydb_pg.indexes.IVFQueryOptions)

IVFQueryOptions(probes: int = 1)

### [ScaNNIndex](https://docs.cloud.google.com/python/docs/reference/langchain-google-alloydb-pg/latest/langchain_google_alloydb_pg.indexes.ScaNNIndex)

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


### [ScaNNQueryOptions](https://docs.cloud.google.com/python/docs/reference/langchain-google-alloydb-pg/latest/langchain_google_alloydb_pg.indexes.ScaNNQueryOptions)

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

### [AlloyDBDocumentSaver](https://docs.cloud.google.com/python/docs/reference/langchain-google-alloydb-pg/latest/langchain_google_alloydb_pg.loader.AlloyDBDocumentSaver)

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

### [AlloyDBLoader](https://docs.cloud.google.com/python/docs/reference/langchain-google-alloydb-pg/latest/langchain_google_alloydb_pg.loader.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](https://docs.cloud.google.com/python/docs/reference/langchain-google-alloydb-pg/latest/langchain_google_alloydb_pg.vectorstore.AlloyDBVectorStore)

Google AlloyDB Vector Store class

## Modules

### [chat_message_history](https://docs.cloud.google.com/python/docs/reference/langchain-google-alloydb-pg/latest/langchain_google_alloydb_pg.chat_message_history)

API documentation for `chat_message_history` module.

### [engine](https://docs.cloud.google.com/python/docs/reference/langchain-google-alloydb-pg/latest/langchain_google_alloydb_pg.engine)

API documentation for `engine` module.

### [indexes](https://docs.cloud.google.com/python/docs/reference/langchain-google-alloydb-pg/latest/langchain_google_alloydb_pg.indexes)

API documentation for `indexes` module.

### [loader](https://docs.cloud.google.com/python/docs/reference/langchain-google-alloydb-pg/latest/langchain_google_alloydb_pg.loader)

API documentation for `loader` module.

### [vectorstore](https://docs.cloud.google.com/python/docs/reference/langchain-google-alloydb-pg/latest/langchain_google_alloydb_pg.vectorstore)

API documentation for `vectorstore` module.