Skip to content

Commit d690323

Browse files
authored
docs(conversation): reference env vars for default models in conversation components
Signed-off-by: Erin La <107987318+giterinhub@users.noreply.github.com>
1 parent 6cc0a96 commit d690323

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

daprdocs/content/en/reference/components-reference/supported-conversation/anthropic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
- name: key
2121
value: "mykey"
2222
- name: model
23-
value: claude-3-5-sonnet-20240620
23+
value: '${{DAPR_CONVERSATION_ANTHROPIC_MODEL}}'
2424
- name: cacheTTL
2525
value: 10m
2626
```
@@ -34,7 +34,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
3434
| Field | Required | Details | Example |
3535
|--------------------|:--------:|---------|---------|
3636
| `key` | Y | API key for Anthropic. | `"mykey"` |
37-
| `model` | N | The Anthropic LLM to use. Defaults to `claude-3-5-sonnet-20240620` | `claude-3-5-sonnet-20240620` |
37+
| `model` | N | The Anthropic LLM to use. Defaults to `claude-3-5-sonnet-20240620` (configurable via `DAPR_CONVERSATION_ANTHROPIC_MODEL` environment variable). | `${{DAPR_CONVERSATION_ANTHROPIC_MODEL}}` |
3838
| `cacheTTL` | N | A time-to-live value for a prompt cache to expire. Uses Golang duration format. | `10m` |
3939

4040
## Related links

daprdocs/content/en/reference/components-reference/supported-conversation/hugging-face.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
- name: key
2121
value: mykey
2222
- name: model
23-
value: meta-llama/Meta-Llama-3-8B
23+
value: '${{DAPR_CONVERSATION_HUGGINGFACE_MODEL}}'
2424
- name: cacheTTL
2525
value: 10m
2626
```
@@ -34,7 +34,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
3434
| Field | Required | Details | Example |
3535
|--------------------|:--------:|---------|---------|
3636
| `key` | Y | API key for Huggingface. | `mykey` |
37-
| `model` | N | The Huggingface LLM to use. Defaults to `meta-llama/Meta-Llama-3-8B`. | `meta-llama/Meta-Llama-3-8B` |
37+
| `model` | N | The Huggingface LLM to use. Defaults to `deepseek-ai/DeepSeek-R1-Distill-Qwen-32B` (configurable via `DAPR_CONVERSATION_HUGGINGFACE_MODEL` environment variable). | `${{DAPR_CONVERSATION_HUGGINGFACE_MODEL}}` |
3838
| `cacheTTL` | N | A time-to-live value for a prompt cache to expire. Uses Golang duration format. | `10m` |
3939

4040
## Related links

daprdocs/content/en/reference/components-reference/supported-conversation/mistral.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
- name: key
2121
value: mykey
2222
- name: model
23-
value: open-mistral-7b
23+
value: '${{DAPR_CONVERSATION_MISTRAL_MODEL}}'
2424
- name: cacheTTL
2525
value: 10m
2626
```
@@ -34,7 +34,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
3434
| Field | Required | Details | Example |
3535
|--------------------|:--------:|---------|---------|
3636
| `key` | Y | API key for Mistral. | `mykey` |
37-
| `model` | N | The Mistral LLM to use. Defaults to `open-mistral-7b`. | `open-mistral-7b` |
37+
| `model` | N | The Mistral LLM to use. Defaults to `open-mistral-7b` (configurable via `DAPR_CONVERSATION_MISTRAL_MODEL` environment variable). | `${{DAPR_CONVERSATION_MISTRAL_MODEL}}` |
3838
| `cacheTTL` | N | A time-to-live value for a prompt cache to expire. Uses Golang duration format. | `10m` |
3939

4040
## Related links

daprdocs/content/en/reference/components-reference/supported-conversation/openai.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
- name: key
2121
value: mykey
2222
- name: model
23-
value: gpt-4-turbo
23+
value: '${{DAPR_CONVERSATION_OPENAI_MODEL}}'
2424
- name: cacheTTL
2525
value: 10m
2626
```
@@ -34,7 +34,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
3434
| Field | Required | Details | Example |
3535
|--------------------|:--------:|---------|---------|
3636
| `key` | Y | API key for OpenAI. | `mykey` |
37-
| `model` | N | The OpenAI LLM to use. Defaults to `gpt-4-turbo`. | `gpt-4-turbo` |
37+
| `model` | N | The OpenAI LLM to use. Defaults to `gpt-5-nano` (configurable via `DAPR_CONVERSATION_OPENAI_MODEL` environment variable). | `${{DAPR_CONVERSATION_OPENAI_MODEL}}` |
3838
| `cacheTTL` | N | A time-to-live value for a prompt cache to expire. Uses Golang duration format. | `10m` |
3939

4040
## Related links

0 commit comments

Comments
 (0)