mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-04 21:25:23 +00:00
# What does this PR do? Simple approach to get some provider pages in the docs. Add or update description fields in the provider configuration class using Pydantic’s Field, ensuring these descriptions are clear and complete, as they will be used to auto-generate provider documentation via ./scripts/distro_codegen.py instead of editing the docs manually. Signed-off-by: Sébastien Han <seb@redhat.com>
21 lines
571 B
Markdown
21 lines
571 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}
|
|
|
|
```
|
|
|