LlamaIndex Chat_Store Integration: Postgres Chat Store
Installation
pip install llama-index-storage-chat-store-postgres
Usage
Using PostgresChatStore, 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.postgres import PostgresChatStore
from llama_index.core.memory import ChatMemoryBuffer
chat_store = PostgresChatStore.from_uri(
uri="postgresql+asyncpg://postgres:password@127.0.0.1:5432/database",
)
chat_memory = ChatMemoryBuffer.from_defaults(
token_limit=3000,
chat_store=chat_store,
chat_store_key="user1",
)
Metadata
Release files for llama-index-storage-chat-store-postgres 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_storage_chat_store_postgres-0.5.0.tar.gz | 6.3 kB | Without provenance | Details for llama_index_storage_chat_store_postgres-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_storage_chat_store_postgres-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_storage_chat_store_postgres-0.5.0-py3-none-any.whl |
Total release size: 12.3 kB
Release files / llama_index_storage_chat_store_postgres-0.5.0.tar.gz
| Download URL | llama_index_storage_chat_store_postgres-0.5.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23d3c7d20c6742bfaa0c60f24bbac17d62aa829c90e247ba038df349cf137be6
|
|
BLAKE2b-256 checksum How to use checksums |
6d0addc4d41a758f76c3cb10e6114d9fecbf8a0574c04b9bf62403c607170d89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / llama_index_storage_chat_store_postgres-0.5.0-py3-none-any.whl
| Download URL | llama_index_storage_chat_store_postgres-0.5.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9fec2e9544338a724b0c720ba4bfb9baefe15502bf1833469755bd786b2416e4
|
|
BLAKE2b-256 checksum How to use checksums |
0d8d9406c20093bb5c34f262d88cd9babbdd702b0b2c766d8da059f30f88d577
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for llama-index-storage-chat-store-postgres 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.