Skip to main content
Version: v0.2.23

inline::reference

Description​

Reference implementation of batches API with KVStore persistence.

Configuration​

FieldTypeRequiredDefaultDescription
kvstoreutils.kvstore.config.RedisKVStoreConfig | utils.kvstore.config.SqliteKVStoreConfig | utils.kvstore.config.PostgresKVStoreConfig | utils.kvstore.config.MongoDBKVStoreConfigNosqliteConfiguration for the key-value store backend.
max_concurrent_batches<class 'int'>No1Maximum number of concurrent batches to process simultaneously.
max_concurrent_requests_per_batch<class 'int'>No10Maximum number of concurrent requests to process per batch.

Sample Configuration​

kvstore:
type: sqlite
db_path: ${env.SQLITE_STORE_DIR:=~/.llama/dummy}/batches.db