Skip to main content

LlamaIndex Chat_Store Integration: Tablestore Chat Store

Using TablestoreChatStore, you can store your chat history remotely, without having to worry about manually persisting and loading the chat history.

Installation

pip install llama-index-storage-chat-store-tablestore

Usage

from llama_index.storage.chat_store.tablestore import TablestoreChatStore
from llama_index.core.memory import ChatMemoryBuffer

# 1. create tablestore vector store
chat_store = TablestoreChatStore(
    endpoint="<end_point>",
    instance_name="<instance_name>",
    access_key_id="<access_key_id>",
    access_key_secret="<access_key_secret>",
)
# You need to create a table for the first use
chat_store.create_table_if_not_exist()

chat_memory = ChatMemoryBuffer.from_defaults(
    token_limit=3000,
    chat_store=chat_store,
    chat_store_key="user1",
)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file llama_index_storage_chat_store_tablestore-0.4.0.tar.gz.

File metadata

  • Download URL: llama_index_storage_chat_store_tablestore-0.4.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_storage_chat_store_tablestore-0.4.0.tar.gz
Algorithm Hash digest
SHA256 fe9794b07ac4b4e431d87868c0535f7f4b1b3545635bfc30afe980d062a20da5
MD5 d6244f201cf4987bbc1f3afd0bf4d11d
BLAKE2b-256 c72a43481ccc62453ecc44b55643afd58a12fa3f4b880041428598a351ff689d

See more details on using hashes here.

File details

Details for the file llama_index_storage_chat_store_tablestore-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_storage_chat_store_tablestore-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_storage_chat_store_tablestore-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b10f7a24a731f1e2433ff72bf580810bec97fed8ed90331190348689ee1626d1
MD5 c573193d257a191f4148a099e0fd0e90
BLAKE2b-256 aefa9eb6e51987938f0fc5d10b0a2f8526800b5c8b439af4058ad9d620a432d9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page