add groq inference provider

This commit is contained in:
Benjamin Klieger 2024-11-25 17:54:14 -08:00
parent 34be07e0df
commit 74a6aa2c81
6 changed files with 480 additions and 0 deletions

View file

@ -130,6 +130,18 @@ def available_providers() -> List[ProviderSpec]:
provider_data_validator="llama_stack.providers.remote.inference.together.TogetherProviderDataValidator",
),
),
remote_provider_spec(
api=Api.inference,
adapter=AdapterSpec(
adapter_type="groq",
pip_packages=[
"groq",
],
module="llama_stack.providers.remote.inference.groq",
config_class="llama_stack.providers.remote.inference.groq.GroqImplConfig",
provider_data_validator="llama_stack.providers.remote.inference.groq.GroqProviderDataValidator",
),
),
remote_provider_spec(
api=Api.inference,
adapter=AdapterSpec(