mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-27 06:28:50 +00:00
21 lines
573 B
Markdown
21 lines
573 B
Markdown
# remote::sambanova-openai-compat
|
|
|
|
## Description
|
|
|
|
SambaNova OpenAI-compatible provider for using SambaNova models with OpenAI API format.
|
|
|
|
## Configuration
|
|
|
|
| Field | Type | Required | Default | Description |
|
|
|-------|------|----------|---------|-------------|
|
|
| `api_key` | `str \| None` | No | | The SambaNova API key |
|
|
| `openai_compat_api_base` | `<class 'str'>` | No | https://api.sambanova.ai/v1 | The URL for the SambaNova API server |
|
|
|
|
## Sample Configuration
|
|
|
|
```yaml
|
|
openai_compat_api_base: https://api.sambanova.ai/v1
|
|
api_key: ${env.SAMBANOVA_API_KEY:=}
|
|
|
|
```
|
|
|