Skip to content
Merged
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
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG GIT_COMMIT=git-commit-not-defined
# ======================================================
# Transient image to construct Python venv
# ------------------------------------------------------
FROM quay.io/lightspeed-core/lightspeed-stack:0.1.3 AS builder
FROM quay.io/lightspeed-core/lightspeed-stack:0.3.0 AS builder

ARG APP_ROOT=/app-root
WORKDIR /app-root
Expand Down
14 changes: 12 additions & 2 deletions ansible-chatbot-mcp-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ apis:
- datasetio
- telemetry
- tool_runtime
- files
providers:
inference:
- provider_id: my_rhoai_dev
Expand Down Expand Up @@ -68,6 +69,15 @@ providers:
type: sqlite
namespace: null
db_path: ${env.PROVIDERS_DB_DIR:=/.llama/data/distributions/ansible-chatbot}/localfs_datasetio.db
files:
- provider_id: localfs
provider_type: inline::localfs
config:
storage_dir: ${env.PROVIDERS_DB_DIR:=/.llama/data/distributions/ansible-chatbot}/files
metadata_store:
type: sqlite
namespace: null
db_path: ${env.PROVIDERS_DB_DIR:=/.llama/data/distributions/ansible-chatbot}/files_store.db
telemetry:
- provider_id: meta-reference
provider_type: inline::meta-reference
Expand Down Expand Up @@ -97,9 +107,9 @@ models:
provider_id: inline_sentence-transformer
model_type: embedding
- metadata: {}
model_id: ${env.GEMINI_INFERENCE_MODEL:=gemini/gemini-2.5-flash}
model_id: ${env.GEMINI_INFERENCE_MODEL:=gemini-2.5-flash}
provider_id: gemini
provider_model_id: gemini/gemini-2.5-flash
provider_model_id: gemini-2.5-flash
model_type: llm
- metadata: {}
model_id: ${env.OPENAI_INFERENCE_MODEL:=gpt-4o-mini}
Expand Down
14 changes: 12 additions & 2 deletions ansible-chatbot-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ apis:
- datasetio
- telemetry
- tool_runtime
- files
providers:
inference:
- provider_id: my_rhoai_dev
Expand Down Expand Up @@ -68,6 +69,15 @@ providers:
type: sqlite
namespace: null
db_path: ${env.PROVIDERS_DB_DIR:=/.llama/data/distributions/ansible-chatbot}/localfs_datasetio.db
files:
- provider_id: localfs
provider_type: inline::localfs
config:
storage_dir: ${env.PROVIDERS_DB_DIR:=/.llama/data/distributions/ansible-chatbot}/files
metadata_store:
type: sqlite
namespace: null
db_path: ${env.PROVIDERS_DB_DIR:=/.llama/data/distributions/ansible-chatbot}/files_store.db
telemetry:
- provider_id: meta-reference
provider_type: inline::meta-reference
Expand Down Expand Up @@ -97,9 +107,9 @@ models:
provider_id: inline_sentence-transformer
model_type: embedding
- metadata: {}
model_id: ${env.GEMINI_INFERENCE_MODEL:=gemini/gemini-2.5-flash}
model_id: ${env.GEMINI_INFERENCE_MODEL:=gemini-2.5-flash}
provider_id: gemini
provider_model_id: gemini/gemini-2.5-flash
provider_model_id: gemini-2.5-flash
model_type: llm
- metadata: {}
model_id: ${env.OPENAI_INFERENCE_MODEL:=gpt-4o-mini}
Expand Down
4 changes: 2 additions & 2 deletions lightspeed-stack-mcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ llama_stack:
use_as_library_client: true
library_client_config_path: /.llama/distributions/llama-stack/config/ansible-chatbot-run.yaml
user_data_collection:
feedback_disabled: true
transcripts_disabled: true
feedback_enabled: false
transcripts_enabled: false
customization:
system_prompt_path: /.llama/distributions/ansible-chatbot/system-prompts/default.txt
mcp_servers:
Expand Down
4 changes: 2 additions & 2 deletions lightspeed-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ llama_stack:
use_as_library_client: true
library_client_config_path: /.llama/distributions/llama-stack/config/ansible-chatbot-run.yaml
user_data_collection:
feedback_disabled: true
transcripts_disabled: true
feedback_enabled: false
transcripts_enabled: false
customization:
system_prompt_path: /.llama/distributions/ansible-chatbot/system-prompts/default.txt
4 changes: 2 additions & 2 deletions lightspeed-stack_local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ llama_stack:
use_as_library_client: true
library_client_config_path: ./ansible-chatbot-run.yaml
user_data_collection:
feedback_disabled: true
transcripts_disabled: true
feedback_enabled: false
transcripts_enabled: false
customization:
system_prompt_path: ./ansible-chatbot-system-prompt.txt
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies = [
"aiosqlite~=0.21.0",
"faiss-cpu~=1.11",
"fire~=0.7.0",
"lightspeed-stack-providers==0.1.15",
"lightspeed-stack-providers==0.1.17",
"mcp~=1.9.4",
"numpy==2.2.6",
"opentelemetry-api~=1.34.1",
Expand Down
17 changes: 8 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ jiter==0.10.0
joblib==1.5.1
jsonschema==4.24.0
jsonschema-specifications==2025.4.1
lightspeed-stack-providers==0.1.15
lightspeed-stack-providers==0.1.17
litellm==1.75.5.post1
llama-api-client==0.1.2
llama-stack==0.2.16
llama-stack-client==0.2.16
llama-stack==0.2.22
llama-stack-client==0.2.22
markdown-it-py==3.0.0
markupsafe==3.0.2
mcp==1.9.4
Expand All @@ -63,7 +62,7 @@ nvidia-cusparselt-cu12==0.6.3 ; platform_machine == 'x86_64' and sys_platform ==
nvidia-nccl-cu12==2.26.2 ; platform_machine == 'x86_64' and sys_platform == 'linux'
nvidia-nvjitlink-cu12==12.6.85 ; platform_machine == 'x86_64' and sys_platform == 'linux'
nvidia-nvtx-cu12==12.6.77 ; platform_machine == 'x86_64' and sys_platform == 'linux'
openai==1.99.9
openai==2.3.0
opentelemetry-api==1.34.1
opentelemetry-exporter-otlp==1.34.1
opentelemetry-exporter-otlp-proto-common==1.34.1
Expand All @@ -81,8 +80,8 @@ protobuf==5.29.5
pyaml==25.5.0
pyasn1==0.6.1
pycparser==2.22 ; platform_python_implementation != 'PyPy'
pydantic==2.11.7
pydantic-core==2.33.2
pydantic==2.12.0
pydantic-core==2.41.1
pydantic-settings==2.10.1
pygments==2.19.2
python-dateutil==2.9.0.post0
Expand Down Expand Up @@ -116,8 +115,8 @@ torch==2.7.1
tqdm==4.67.1
transformers==4.53.1
triton==3.3.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
typing-extensions==4.14.0
typing-inspection==0.4.1
typing-extensions==4.15.0
typing-inspection==0.4.2
tzdata==2025.2
urllib3==2.5.0
uvicorn==0.34.3
Expand Down
Loading