mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #391] [MERGED] feat: make the KV store configurable via env vars #434
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/llama_deploy/pull/391
Author: @masci
Created: 11/27/2024
Status: ✅ Merged
Merged: 11/28/2024
Merged by: @masci
Base:
main← Head:massi/370📝 Commits (8)
c9f9918feat: make the KV store configurable via env varsf6fdb14more unit tests15052c3move kvstore uri in the configcb88a62add redis example7b3b6f4fix Redis creation6ec8ba8add more docs906c0c5use state in the example08b73e3add sessions create command to the CLI📊 Changes
19 files changed (+428 additions, -50 deletions)
View changed files
📝
docs/docs/api_reference/llama_deploy/control_plane.md(+2 -0)📝
docs/docs/module_guides/llama_deploy/20_core_components.md(+15 -0)➕
examples/redis_state_store/README.md(+79 -0)➕
examples/redis_state_store/docker-compose.yml(+12 -0)➕
examples/redis_state_store/redis_store.yml(+15 -0)➕
examples/redis_state_store/requirements.txt(+1 -0)➕
examples/redis_state_store/src/workflow.py(+26 -0)📝
llama_deploy/cli/__init__.py(+2 -0)📝
llama_deploy/cli/run.py(+4 -0)➕
llama_deploy/cli/sessions.py(+34 -0)📝
llama_deploy/client/models/apiserver.py(+2 -0)📝
llama_deploy/control_plane/base.py(+0 -17)📝
llama_deploy/control_plane/config.py(+51 -7)📝
llama_deploy/control_plane/server.py(+36 -24)📝
tests/cli/test_run.py(+2 -2)➕
tests/cli/test_sessions.py(+45 -0)➕
tests/control_plane/test_config.py(+61 -0)➖
tests/control_plane/test_control_plane.py(+0 -0)➕
tests/control_plane/test_server.py(+41 -0)📄 Description
Fixes #370
Allow passing a URI string to the control plane constructor to build a KV store. For now only Redis and MongoDB are supported, to be considered reference implementation. Ideally we could support all the available store in llama_index.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.