llama-stack-mirror/llama_stack/apis/models
Dinesh Yeduguru 8e33db6015
add model type to APIs (#588)
# What does this PR do?

This PR adds a new model type field to support embedding models to be
registered. Summary of changes:
1) Each registered model by default is an llm model. 
2) User can specify an embedding model type, while registering.If
specified, the model bypass the llama model checks since embedding
models can by of any type and based on llama.
3) User needs to include the required embedding dimension in metadata.
This will be used by embedding generation to generate the requried size
of embeddings.


## Test Plan

This PR will go together will need to be merged with two follow up PRs
that will include test plans.
2024-12-11 10:16:53 -08:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
client.py Fix opentelemetry adapter (#510) 2024-11-22 18:18:11 -08:00
models.py add model type to APIs (#588) 2024-12-11 10:16:53 -08:00