Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions tests/configuration/minimal-stack.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: '2'
image_name: llamastack-minimal-stack
distro_name: llamastack-minimal-stack
container_image: null
external_providers_dir: /tmp

Expand All @@ -26,5 +26,8 @@ storage:
table_name: openai_conversations
backend: sql_default
prompts:
namespace: prompts
backend: kv_default
table_name: prompts
backend: sql_default
connectors:
table_name: connectors
backend: sql_default
78 changes: 17 additions & 61 deletions tests/configuration/run.yaml
Original file line number Diff line number Diff line change
@@ -1,53 +1,27 @@
version: '2'
image_name: minimal-viable-llama-stack-configuration
distro_name: minimal-viable-llama-stack-configuration

apis:
- agents
- responses
- datasetio
- eval
- inference
- post_training
- safety
- scoring
- tool_runtime
- vector_io
benchmarks: []
container_image: null
datasets: []
external_providers_dir: null
logging: null
providers:
agents:
- provider_id: meta-reference
provider_type: inline::meta-reference
responses:
- provider_id: builtin
provider_type: inline::builtin
config:
persistence:
agent_state:
namespace: agents_state
backend: kv_default
responses:
table_name: agents_responses
backend: sql_default
datasetio:
- provider_id: huggingface
provider_type: remote::huggingface
config:
kvstore:
namespace: huggingface_datasetio
backend: kv_default
- provider_id: localfs
provider_type: inline::localfs
config:
kvstore:
namespace: localfs_datasetio
backend: kv_default
eval:
- provider_id: meta-reference
provider_type: inline::meta-reference
config:
kvstore:
namespace: eval_store
backend: kv_default
inference:
- provider_id: openai
provider_type: remote::openai
Expand All @@ -64,32 +38,16 @@ providers:
distributed_backend: null
provider_id: huggingface
provider_type: inline::huggingface
safety:
- config:
excluded_categories: []
provider_id: llama-guard
provider_type: inline::llama-guard
scoring:
- config: {}
provider_id: basic
provider_type: inline::basic
- config: {}
provider_id: llm-as-judge
provider_type: inline::llm-as-judge
- config:
openai_api_key: '********'
provider_id: braintrust
provider_type: inline::braintrust
telemetry:
- config:
service_name: ''
sinks: sqlite
sqlite_db_path: .llama/distributions/ollama/trace_store.db
provider_id: meta-reference
provider_type: inline::meta-reference
provider_id: builtin
provider_type: inline::builtin
tool_runtime:
- provider_id: rag-runtime
provider_type: inline::rag-runtime
- provider_id: file-search
provider_type: inline::file-search
config: {}
- provider_id: model-context-protocol
provider_type: remote::model-context-protocol
Expand All @@ -101,7 +59,6 @@ providers:
backend: kv_rag
provider_id: faiss
provider_type: inline::faiss
scoring_fns: []
server:
auth: null
host: null
Expand All @@ -115,6 +72,9 @@ storage:
kv_default:
type: kv_sqlite
db_path: ${env.KV_STORE_PATH:=~/.llama/storage/kv_store.db}
kv_rag: # Define the storage backend type for RAG
type: kv_sqlite
db_path: ${env.KV_RAG_PATH:=~/.llama/storage/rag/kv_store.db}
sql_default:
type: sql_sqlite
db_path: ${env.SQL_STORE_PATH:=~/.llama/storage/sql_store.db}
Expand All @@ -129,18 +89,14 @@ storage:
table_name: openai_conversations
backend: sql_default
prompts:
namespace: prompts
backend: kv_default
table_name: prompts
backend: sql_default
connectors:
table_name: connectors
backend: sql_default
registered_resources:
models: []
shields: []
vector_stores: []
datasets: []
scoring_fns: []
benchmarks: []
tool_groups:
- toolgroup_id: builtin::rag
provider_id: rag-runtime
telemetry:
enabled: true
vector_stores:
Expand Down
87 changes: 16 additions & 71 deletions tests/e2e-prow/rhoai/configs/run.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
version: 2
image_name: starter
distro_name: starter

apis:
- agents
- responses
- batches
- datasetio
- eval
- files
- inference
- safety
- scoring
- tool_runtime
- conversations
- vector_io

benchmarks: []
datasets: []

providers:
inference:
- provider_id: vllm
Expand All @@ -36,26 +30,10 @@ providers:
storage_dir: /opt/app-root/src/.llama/storage/files
provider_id: meta-reference-files
provider_type: inline::localfs
safety:
- config:
excluded_categories: []
provider_id: llama-guard
provider_type: inline::llama-guard
scoring:
- provider_id: basic
provider_type: inline::basic
config: {}
- provider_id: llm-as-judge
provider_type: inline::llm-as-judge
config: {}
- provider_id: braintrust
provider_type: inline::braintrust
config:
openai_api_key: '********'
tool_runtime:
- config: {} # Enable the RAG tool
provider_id: rag-runtime
provider_type: inline::rag-runtime
provider_id: file-search
provider_type: inline::file-search
- config: {} # Enable MCP (Model Context Protocol) support
provider_id: model-context-protocol
provider_type: remote::model-context-protocol
Expand All @@ -66,45 +44,21 @@ providers:
backend: kv_rag
provider_id: faiss
provider_type: inline::faiss
agents:
responses:
- config:
persistence:
agent_state:
namespace: agents_state
backend: kv_default
responses:
table_name: agents_responses
backend: sql_default
provider_id: meta-reference
provider_type: inline::meta-reference
provider_id: builtin
provider_type: inline::builtin
batches:
- config:
kvstore:
namespace: batches_store
backend: kv_default
sqlstore:
table_name: batches
backend: sql_default
provider_id: reference
provider_type: inline::reference
datasetio:
- config:
kvstore:
namespace: huggingface_datasetio
backend: kv_default
provider_id: huggingface
provider_type: remote::huggingface
- config:
kvstore:
namespace: localfs_datasetio
backend: kv_default
provider_id: localfs
provider_type: inline::localfs
eval:
- config:
kvstore:
namespace: eval_store
backend: kv_default
provider_id: meta-reference
provider_type: inline::meta-reference
scoring_fns: []
server:
port: 8321
storage:
Expand All @@ -131,29 +85,20 @@ storage:
table_name: openai_conversations
backend: sql_default
prompts:
namespace: prompts
backend: kv_default
table_name: prompts
backend: sql_default
connectors:
table_name: connectors
backend: sql_default
registered_resources:
models:
- model_id: meta-llama/Llama-3.1-8B-Instruct
provider_id: vllm
model_type: llm
provider_model_id: null
vector_stores: []
shields:
- shield_id: llama-guard
provider_id: llama-guard
provider_shield_id: vllm/meta-llama/Llama-3.1-8B-Instruct
datasets: []
scoring_fns: []
benchmarks: []
tool_groups:
- provider_id: rag-runtime
toolgroup_id: builtin::rag
vector_stores:
default_provider_id: faiss
default_embedding_model: # Define the default embedding model for RAG
provider_id: sentence-transformers
model_id: all-mpnet-base-v2
safety:
default_shield_id: llama-guard
Loading
Loading