llama-stack/llama_stack/apis
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
..
agents memory retrival to print only the bytes injected 2024-12-10 09:32:18 -08:00
batch_inference Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
common [Evals API][4/n] evals with generation meta-reference impl (#303) 2024-10-25 13:12:39 -07:00
datasetio Telemetry API redesign (#525) 2024-12-04 11:22:45 -08:00
datasets unregister API for dataset (#507) 2024-12-03 21:18:30 -08:00
eval Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
eval_tasks Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
inference Console span processor improvements (#577) 2024-12-06 11:46:16 -08:00
inspect Remove "routing_table" and "routing_key" concepts for the user (#201) 2024-10-10 10:24:13 -07:00
memory Console span processor improvements (#577) 2024-12-06 11:46:16 -08:00
memory_banks add model type to APIs (#588) 2024-12-11 10:16:53 -08:00
models add model type to APIs (#588) 2024-12-11 10:16:53 -08:00
post_training Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
safety Console span processor improvements (#577) 2024-12-06 11:46:16 -08:00
scoring Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
scoring_functions [/scoring] add ability to define aggregation functions for scoring functions & refactors (#597) 2024-12-11 10:03:42 -08:00
shields Console span processor improvements (#577) 2024-12-06 11:46:16 -08:00
synthetic_data_generation Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
telemetry Regenerate openapi 2024-12-08 20:46:22 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
resource.py Enable sane naming of registered objects with defaults (#429) 2024-11-12 11:18:05 -08:00
version.py Fix the pyopenapi generator avoid potential circular imports 2024-11-18 23:37:52 -08:00