Simplify to single 'default' backend name

- Replace kvstore/sqlstore backend names with unified 'default'
- Context-aware parsing handles KVStore vs SqlStore based on usage
- Provider configs use 'backend: default' everywhere
- Much cleaner: kvstore { backend: default } instead of { backend: kvstore }
This commit is contained in:
Ashwin Bharambe 2025-10-05 19:06:47 -07:00
parent d15fa60c1b
commit 490110eba2
4 changed files with 27 additions and 43 deletions

View file

@ -105,17 +105,14 @@ providers:
db_path: ${env.SQLITE_STORE_DIR:=~/.llama/distributions/watsonx}/files_metadata.db
persistence:
backends:
kvstore:
default:
type: sqlite
db_path: ${env.SQLITE_STORE_DIR:=~/.llama/distributions/watsonx}/kvstore.db
sqlstore:
type: sqlite
db_path: ${env.SQLITE_STORE_DIR:=~/.llama/distributions/watsonx}/sqlstore.db
db_path: ${env.SQLITE_STORE_DIR:=~/.llama/distributions/watsonx}/store.db
stores:
metadata:
backend: kvstore
backend: default
inference:
backend: sqlstore
backend: default
models:
- metadata: {}
model_id: meta-llama/llama-3-3-70b-instruct