llama-stack/llama_stack/providers/utils
Dinesh Yeduguru fdff24e77a
Inference to use provider resource id to register and validate (#428)
This PR changes the way model id gets translated to the final model name
that gets passed through the provider.
Major changes include:
1) Providers are responsible for registering an object and as part of
the registration returning the object with the correct provider specific
name of the model provider_resource_id
2) To help with the common look ups different names a new ModelLookup
class is created.



Tested all inference providers including together, fireworks, vllm,
ollama, meta reference and bedrock
2024-11-12 20:02:00 -08:00
..
bedrock add bedrock distribution code (#358) 2024-11-06 14:39:11 -08:00
datasetio [Evals API][11/n] huggingface dataset provider + mmlu scoring fn (#392) 2024-11-11 14:49:50 -05:00
inference Inference to use provider resource id to register and validate (#428) 2024-11-12 20:02:00 -08:00
kvstore fix postgres config validation (#380) 2024-11-05 15:09:04 -08:00
memory migrate memory banks to Resource and new registration (#411) 2024-11-11 17:10:44 -08:00
scoring fix tests after registration migration & rename meta-reference -> basic / llm_as_judge provider (#424) 2024-11-12 10:35:44 -05:00
telemetry telemetry WARNING->WARN fix 2024-10-21 18:52:48 -07:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00