llama-stack-mirror/llama_stack/distributions
Francisco Arceo 48581bf651
chore: Updating how default embedding model is set in stack (#3818)
# What does this PR do?

Refactor setting default vector store provider and embedding model to
use an optional `vector_stores` config in the `StackRunConfig` and clean
up code to do so (had to add back in some pieces of VectorDB). Also
added remote Qdrant and Weaviate to starter distro (based on other PR
where inference providers were added for UX).

New config is simply (default for Starter distro):

```yaml
vector_stores:
  default_provider_id: faiss
  default_embedding_model:
    provider_id: sentence-transformers
    model_id: nomic-ai/nomic-embed-text-v1.5
```

## Test Plan
CI and Unit tests.

---------

Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
Co-authored-by: Ashwin Bharambe <ashwin.bharambe@gmail.com>
2025-10-20 14:22:45 -07:00
..
ci-tests chore: Updating how default embedding model is set in stack (#3818) 2025-10-20 14:22:45 -07:00
dell feat(stores)!: use backend storage references instead of configs (#3697) 2025-10-20 13:20:09 -07:00
meta-reference-gpu feat(stores)!: use backend storage references instead of configs (#3697) 2025-10-20 13:20:09 -07:00
nvidia feat(stores)!: use backend storage references instead of configs (#3697) 2025-10-20 13:20:09 -07:00
open-benchmark feat(stores)!: use backend storage references instead of configs (#3697) 2025-10-20 13:20:09 -07:00
postgres-demo feat(stores)!: use backend storage references instead of configs (#3697) 2025-10-20 13:20:09 -07:00
starter chore: Updating how default embedding model is set in stack (#3818) 2025-10-20 14:22:45 -07:00
starter-gpu chore: Updating how default embedding model is set in stack (#3818) 2025-10-20 14:22:45 -07:00
watsonx feat(stores)!: use backend storage references instead of configs (#3697) 2025-10-20 13:20:09 -07:00
__init__.py chore: rename templates to distributions (#3035) 2025-08-04 11:34:17 -07:00
template.py chore: Updating how default embedding model is set in stack (#3818) 2025-10-20 14:22:45 -07:00