Implement SambaNova as new remote API Provider.

This commit is contained in:
swanhtet1992 2024-11-23 21:32:05 -06:00
parent 4e6c984c26
commit b6a79d6291
8 changed files with 485 additions and 0 deletions

View file

@ -161,4 +161,16 @@ def available_providers() -> List[ProviderSpec]:
config_class="llama_stack.providers.remote.inference.nvidia.NVIDIAConfig",
),
),
remote_provider_spec(
api=Api.inference,
adapter=AdapterSpec(
adapter_type="sambanova",
pip_packages=[
"openai",
],
module="llama_stack.providers.remote.inference.sambanova",
config_class="llama_stack.providers.remote.inference.sambanova.SambanovaImplConfig",
provider_data_validator="llama_stack.providers.remote.inference.sambanova.SambanovaProviderDataValidator",
),
),
]