mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-23 21:04:29 +00:00
Add OLLAMA_EMBEDDING_MODEL to starter distro
This allows a user to specify the Ollama Embedding Model to use, if any. Signed-off-by: Ben Browning <bbrownin@redhat.com>
This commit is contained in:
parent
497c97487f
commit
9239b338d5
2 changed files with 21 additions and 0 deletions
|
@ -542,6 +542,12 @@ models:
|
|||
provider_id: ollama
|
||||
provider_model_id: ${env.OLLAMA_INFERENCE_MODEL:__disabled__}
|
||||
model_type: llm
|
||||
- metadata:
|
||||
embedding_dimension: ${env.OLLAMA_EMBEDDING_DIMENSION:384}
|
||||
model_id: ollama/${env.OLLAMA_EMBEDDING_MODEL:__disabled__}
|
||||
provider_id: ollama
|
||||
provider_model_id: ${env.OLLAMA_EMBEDDING_MODEL:__disabled__}
|
||||
model_type: embedding
|
||||
- metadata: {}
|
||||
model_id: anthropic/claude-3-5-sonnet-latest
|
||||
provider_id: anthropic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue