Module chat_message_history (0.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
Cloud Spanner-based chat message history
Classes
SpannerChatMessageHistory(
instance_id: str,
database_id: str,
session_id: str,
table_name: str,
client: typing.Optional[google.cloud.spanner_v1.client.Client] = None,
)
Chat message history that stores history in Spanner.
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"]],[["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-28 UTC."],[],[],null,["# Module chat_message_history (0.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.9.0 (latest)](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.chat_message_history)\n- [0.8.2](/python/docs/reference/langchain-google-spanner/0.8.2/langchain_google_spanner.chat_message_history)\n- [0.7.0](/python/docs/reference/langchain-google-spanner/0.7.0/langchain_google_spanner.chat_message_history)\n- [0.6.0](/python/docs/reference/langchain-google-spanner/0.6.0/langchain_google_spanner.chat_message_history)\n- [0.5.0](/python/docs/reference/langchain-google-spanner/0.5.0/langchain_google_spanner.chat_message_history)\n- [0.4.1](/python/docs/reference/langchain-google-spanner/0.4.1/langchain_google_spanner.chat_message_history)\n- [0.3.0](/python/docs/reference/langchain-google-spanner/0.3.0/langchain_google_spanner.chat_message_history) \nCloud Spanner-based chat message history\n\nClasses\n-------\n\n### [SpannerChatMessageHistory](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.chat_message_history.SpannerChatMessageHistory)\n\n SpannerChatMessageHistory(\n instance_id: str,\n database_id: str,\n session_id: str,\n table_name: str,\n client: typing.Optional[google.cloud.spanner_v1.client.Client] = None,\n )\n\nChat message history that stores history in Spanner."]]