Skip to main content

llama-index storage-chat-store sqlite integration

Project description

LlamaIndex Chat_Store Integration: SQLite Chat Store

Installation

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

Usage

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

from llama_index.storage.chat_store.sqlite import SQLiteChatStore
from llama_index.core.memory import ChatMemoryBuffer

chat_store = SQLiteChatStore.from_uri(
    uri="sqlite+aiosqlite:///chat_store.db",
)

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_sqlite-0.3.0.tar.gz.

File metadata

  • Download URL: llama_index_storage_chat_store_sqlite-0.3.0.tar.gz
  • Upload date:
  • Size: 5.5 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_sqlite-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9dfc7da3152b86bd8a6a0ddbefa7c082a4a6db571582df39e049cead5ea0c9cb
MD5 86517bb2d45cb2bf3d73e48ab4e81cd2
BLAKE2b-256 8c0ced445ad25728f695e575cd99808d44ead3a95116c001dd88f6deaafee8e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_storage_chat_store_sqlite-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_sqlite-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13bf70be93073a6e23cc508bf6440ae7e6fdf0cc72a295b9c24e15cd526dfdb5
MD5 9e7f1b1d2a8313b19bac9a1fd98e0eac
BLAKE2b-256 14912cfdc2aa9d4cc7ff1359b8c5724760152a402d7e17b69b761e82f9a1845a

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