add databricks provider (#83)

* add databricks provider

* update provider and test
This commit is contained in:
Prithu Dasgupta 2024-10-05 23:35:54 -07:00 committed by GitHub
parent f73e247ba1
commit 7abab7604b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 316 additions and 0 deletions

View file

@ -104,6 +104,17 @@ def available_providers() -> List[ProviderSpec]:
config_class="llama_stack.providers.adapters.inference.bedrock.BedrockConfig",
),
),
remote_provider_spec(
api=Api.inference,
adapter=AdapterSpec(
adapter_type="databricks",
pip_packages=[
"openai",
],
module="llama_stack.providers.adapters.inference.databricks",
config_class="llama_stack.providers.adapters.inference.databricks.DatabricksImplConfig",
),
),
InlineProviderSpec(
api=Api.inference,
provider_type="vllm",