Module key_value_store (0.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
API documentation for key_value_store
module.
Classes
BigtableByteStore(
engine: langchain_google_bigtable.engine.BigtableEngine,
instance_id: str,
table_id: str,
column_family: str = "kv",
column_qualifier: bytes = b"val",
app_profile_id: typing.Optional[str] = None,
)
LangChain Key-value store implementation for Google Cloud Bigtable, supporting
both sync and async methods using BigtableEngine.
Modules
Functions
init_key_value_store_table
init_key_value_store_table(
instance_id: str,
table_id: str,
project_id: typing.Optional[str] = None,
client: typing.Optional[google.cloud.bigtable.client.Client] = None,
column_families: typing.List[str] = ["kv"],
) -> None
Create a table for saving of LangChain Key-value pairs.
Parameters |
Name |
Description |
instance_id |
str
The Instance ID for the table to be created for.
|
table_id |
str
The Table ID for the table.
|
column_families |
Optional[List[str]]
The column families for the new table.
|
Exceptions |
Type |
Description |
I |
raises ValueError if a table with the given table_id already exists.: |
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-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-13 UTC."],[],[],null,["# Module key_value_store (0.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.0 (latest)](/python/docs/reference/langchain-google-bigtable/latest/langchain_google_bigtable.key_value_store)\n- [0.5.0](/python/docs/reference/langchain-google-bigtable/0.5.0/langchain_google_bigtable.key_value_store)\n- [0.4.4](/python/docs/reference/langchain-google-bigtable/0.4.4/langchain_google_bigtable.key_value_store)\n- [0.3.1](/python/docs/reference/langchain-google-bigtable/0.3.1/langchain_google_bigtable.key_value_store)\n- [0.2.3](/python/docs/reference/langchain-google-bigtable/0.2.3/langchain_google_bigtable.key_value_store) \nAPI documentation for `key_value_store` module.\n\nClasses\n-------\n\n### [BigtableByteStore](/python/docs/reference/langchain-google-bigtable/latest/langchain_google_bigtable.key_value_store.BigtableByteStore)\n\n BigtableByteStore(\n engine: langchain_google_bigtable.engine.BigtableEngine,\n instance_id: str,\n table_id: str,\n column_family: str = \"kv\",\n column_qualifier: bytes = b\"val\",\n app_profile_id: typing.Optional[str] = None,\n )\n\nLangChain Key-value store implementation for Google Cloud Bigtable, supporting\nboth sync and async methods using BigtableEngine.\n\nModules\nFunctions\n-----------------\n\n### init_key_value_store_table\n\n init_key_value_store_table(\n instance_id: str,\n table_id: str,\n project_id: typing.Optional[str] = None,\n client: typing.Optional[google.cloud.bigtable.client.Client] = None,\n column_families: typing.List[str] = [\"kv\"],\n ) -\u003e None\n\nCreate a table for saving of LangChain Key-value pairs."]]