llama-stack-mirror/llama_stack/distribution/routers
Ben Browning 459d50a365 feat: Add missing Vector Store Files API surface
This adds the ability to list, retrieve, update, and delete Vector
Store Files. It implements these new APIs for the faiss and sqlite-vec
providers, since those are the two that also have the rest of the
vector store files implementation.

There are a number of new integration tests added, which I ran for
each provider as outlined below.

faiss (from ollama distro):

```
INFERENCE_MODEL="meta-llama/Llama-3.2-3B-Instruct" \
llama stack run llama_stack/templates/ollama/run.yaml

LLAMA_STACK_CONFIG=http://localhost:8321 \
pytest -sv tests/integration/vector_io/test_openai_vector_stores.py \
  --embedding-model=all-MiniLM-L6-v2
```

sqlite-vec (from starter distro):

```
llama stack run llama_stack/templates/starter/run.yaml

LLAMA_STACK_CONFIG=http://localhost:8321 \
pytest -sv tests/integration/vector_io/test_openai_vector_stores.py \
  --embedding-model=all-MiniLM-L6-v2
```

Signed-off-by: Ben Browning <bbrownin@redhat.com>
2025-06-19 10:58:29 -04:00
..
__init__.py feat: fine grained access control policy (#2264) 2025-06-03 14:51:12 -07:00
datasets.py chore: split routers into individual files (datasets) (#2249) 2025-05-24 22:11:43 -07:00
eval_scoring.py chore: split routers into individual files (inference, tool, vector_io, eval_scoring) (#2258) 2025-05-24 22:59:07 -07:00
inference.py feat: drop python 3.10 support (#2469) 2025-06-19 12:07:14 +05:30
safety.py chore: split routers into individual files (safety) 2025-05-24 22:00:32 -07:00
tool_runtime.py fix(tools): do not index tools, only index toolgroups (#2261) 2025-05-25 13:27:52 -07:00
vector_io.py feat: Add missing Vector Store Files API surface 2025-06-19 10:58:29 -04:00