llama-stack-mirror/docs/source
Ashwin Bharambe 9436dd570d
feat: register embedding models for ollama, together, fireworks (#1190)
# What does this PR do?

We have support for embeddings in our Inference providers, but so far we
haven't done the final step of actually registering the known embedding
models and making sure they are extremely easy to use. This is one step
towards that.

## Test Plan

Run existing inference tests.

```bash

$ cd llama_stack/providers/tests/inference
$ pytest -s -v -k fireworks test_embeddings.py \
   --inference-model nomic-ai/nomic-embed-text-v1.5 --env EMBEDDING_DIMENSION=784
$  pytest -s -v -k together test_embeddings.py \
   --inference-model togethercomputer/m2-bert-80M-8k-retrieval --env EMBEDDING_DIMENSION=784
$ pytest -s -v -k ollama test_embeddings.py \
   --inference-model all-minilm:latest --env EMBEDDING_DIMENSION=784
```

The value of the EMBEDDING_DIMENSION isn't actually used in these tests,
it is merely used by the test fixtures to check if the model is an LLM
or Embedding.
2025-02-20 15:39:08 -08:00
..
building_applications docs: Fix Links, Add Podman Instructions, Vector DB Unregister, and Example Script (#1129) 2025-02-20 13:52:14 -08:00
concepts script for running client sdk tests (#895) 2025-02-19 22:38:06 -08:00
contributing docs: Add note about distro_codegen.py and provider dependencies (#1175) 2025-02-20 09:23:46 -08:00
distributions feat: register embedding models for ollama, together, fireworks (#1190) 2025-02-20 15:39:08 -08:00
getting_started fix(rag-example): add provider_id to avoid llama_stack_client 400 error (#1114) 2025-02-19 15:37:25 -08:00
introduction Update index.md (#888) 2025-01-28 04:55:41 -08:00
playground fix!: update eval-tasks -> benchmarks (#1032) 2025-02-13 16:40:58 -08:00
references docs: fix Python llama_stack_client SDK links (#1150) 2025-02-19 19:05:14 -08:00
conf.py Try a different css file API for sphinx 2025-02-19 20:14:40 -08:00
index.md Update index.md to refer to v0.1.3 2025-02-14 14:29:17 -08:00