Skip to main content

llama-index storage-chat-store tablestore integration

Project description

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",
)

Project details


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.3.0.tar.gz.

File metadata

  • Download URL: llama_index_storage_chat_store_tablestore-0.3.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.3.0.tar.gz
Algorithm Hash digest
SHA256 5229ba0e63cf2bbc2b23b30f652737c5f58f853a1e054d7594053bfb376e5b07
MD5 1e00b0ec44c20e89356cbe91da850f65
BLAKE2b-256 92948428121e554d7fd44b2d0b059ea6e176dc8e9dd7ad55c7eb18a8f0486242

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_storage_chat_store_tablestore-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a29da36c122d54a5574149f8d7ea991cc1d69b7947c4a07ce7aa24214c4f0bc
MD5 1b407cbf83fa8b050cb772954d8d5dec
BLAKE2b-256 69781d058f577ce35455517ea398f867d85410baebc96a4a53135c4e62b0a0f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page