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
568 B
Markdown
21 lines
568 B
Markdown
# remote::together-openai-compat
|
|
|
|
## Description
|
|
|
|
Together AI OpenAI-compatible provider for using Together models with OpenAI API format.
|
|
|
|
## Configuration
|
|
|
|
| Field | Type | Required | Default | Description |
|
|
|-------|------|----------|---------|-------------|
|
|
| `api_key` | `str \| None` | No | | The Together API key |
|
|
| `openai_compat_api_base` | `<class 'str'>` | No | https://api.together.xyz/v1 | The URL for the Together API server |
|
|
|
|
## Sample Configuration
|
|
|
|
```yaml
|
|
openai_compat_api_base: https://api.together.xyz/v1
|
|
api_key: ${env.TOGETHER_API_KEY}
|
|
|
|
```
|
|
|