mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-04 10:10:36 +00:00
fix(starter): pass connection_string and database_name parameters to MongoDB vector IO sample_run_config
This commit is contained in:
parent
fe29aa44d1
commit
8a6794a605
1 changed files with 2 additions and 0 deletions
|
|
@ -237,6 +237,8 @@ def get_distribution_template(name: str = "starter") -> DistributionTemplate:
|
||||||
provider_type="remote::mongodb",
|
provider_type="remote::mongodb",
|
||||||
config=MongoDBVectorIOConfig.sample_run_config(
|
config=MongoDBVectorIOConfig.sample_run_config(
|
||||||
f"~/.llama/distributions/{name}",
|
f"~/.llama/distributions/{name}",
|
||||||
|
connection_string="${env.MONGODB_CONNECTION_STRING:=}",
|
||||||
|
database_name="${env.MONGODB_DATABASE_NAME:=llama_stack}",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Provider(
|
Provider(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue