Skip to content

Commit bed5671

Browse files
authored
Set OpenAI Model to gpt-4o-mini and Updated Spec Defaults
The new default model for OpenAI is gpt-4o, but gpt-4o-mini is much cheaper and should be the default. This change only updates the documentation, but the change from 4-o to 4-o-mini should also be applied in https://github.com/dapr/components-contrib/blob/main/conversation/openai/metadata.yaml (currently incorrectly on 4-turbo) Signed-off-by: Erin La <[email protected]>
1 parent b421483 commit bed5671

File tree

1 file changed

+3
-3
lines changed
  • daprdocs/content/en/reference/components-reference/supported-conversation

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 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: gpt-4o-mini
2424
- name: cacheTTL
2525
value: 10m
2626
```
@@ -34,9 +34,9 @@ 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-4o`. | `gpt-4o` |
3838
| `cacheTTL` | N | A time-to-live value for a prompt cache to expire. Uses Golang duration format. | `10m` |
3939

4040
## Related links
4141

42-
- [Conversation API overview]({{< ref conversation-overview.md >}})
42+
- [Conversation API overview]({{< ref conversation-overview.md >}})

0 commit comments

Comments
 (0)