0.9.1 (latest) 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 Summary of entries of Classes for langchain-google-spanner.

## Classes

### [SpannerChatMessageHistory](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.chat_message_history.SpannerChatMessageHistory)

Chat message history that stores history in Spanner.

### [Column](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.loader.Column)

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

### [SpannerDocumentSaver](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.loader.SpannerDocumentSaver)

Save docs to Google Cloud Spanner.

### [SpannerLoader](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.loader.SpannerLoader)

Loads data from Google Cloud Spanner.

### [DialectSemantics](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.DialectSemantics)

Abstract base class for dialect semantics.

### [DistanceStrategy](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.DistanceStrategy)

Enum for distance calculation strategies.

### [GoogleSqlSemantics](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.GoogleSqlSemantics)

Implementation of dialect semantics for Google SQL.

### [PGSqlSemantics](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.PGSqlSemantics)

Implementation of dialect semantics for PostgreSQL.

### [QueryParameters](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.QueryParameters)

Class representing query parameters for nearest neighbors search.

### [NearestNeighborsAlgorithm](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.QueryParameters.NearestNeighborsAlgorithm)

Enum for nearest neighbors search algorithms.

### [SpannerVectorStore](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.SpannerVectorStore)

Initialize the SpannerVectorStore.

Parameters:

- instance_id (str): The ID of the Spanner instance.
- database_id (str): The ID of the Spanner database.
- table_name (str): The name of the table.
- embedding_service (Embeddings): The embedding service.
- id_column (str): The name of the row ID column. Defaults to ID_COLUMN_NAME.
- content_column (str): The name of the content column. Defaults to CONTENT_COLUMN_NAME.
- embedding_column (str): The name of the embedding column. Defaults to EMBEDDING_COLUMN_NAME.
- client (Client): The Spanner client. Defaults to Client().
- metadata_columns (Optional\[List\[str\]\]): List of metadata columns. Defaults to None.
- ignore_metadata_columns (Optional\[List\[str\]\]): List of metadata columns to ignore. Defaults to None.
- metadata_json_column (Optional\[str\]): The generic metadata column. Defaults to None.
- query_parameters (QueryParameters): The query parameters. Defaults to QueryParameters().

### [TableColumn](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.TableColumn)

Represents column configuration, to be used as part of create DDL statement for table creation.

### [VectorSearchIndex](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.VectorSearchIndex)

The index for use with Approximate Nearest Neighbor (ANN) vector search.

## Modules

### [chat_message_history](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.chat_message_history)

Cloud Spanner-based chat message history

### [loader](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.loader)

API documentation for `loader` module.

### [vector_store](https://docs.cloud.google.com/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store)

API documentation for `vector_store` module.