mirror of https://github.com/dapr/docs.git
Merge 510dc69529
into fa4bac1e6f
This commit is contained in:
commit
1058864244
|
@ -20,7 +20,7 @@ spec:
|
|||
- name: key
|
||||
value: mykey
|
||||
- name: model
|
||||
value: gpt-4-turbo
|
||||
value: gpt-4o-mini
|
||||
- name: cacheTTL
|
||||
value: 10m
|
||||
```
|
||||
|
@ -34,9 +34,9 @@ The above example uses secrets as plain strings. It is recommended to use a secr
|
|||
| Field | Required | Details | Example |
|
||||
|--------------------|:--------:|---------|---------|
|
||||
| `key` | Y | API key for OpenAI. | `mykey` |
|
||||
| `model` | N | The OpenAI LLM to use. Defaults to `gpt-4-turbo`. | `gpt-4-turbo` |
|
||||
| `model` | N | The OpenAI LLM to use. Defaults to `gpt-4o`. | `gpt-4o` |
|
||||
| `cacheTTL` | N | A time-to-live value for a prompt cache to expire. Uses Golang duration format. | `10m` |
|
||||
|
||||
## Related links
|
||||
|
||||
- [Conversation API overview]({{< ref conversation-overview.md >}})
|
||||
- [Conversation API overview]({{< ref conversation-overview.md >}})
|
||||
|
|
Loading…
Reference in New Issue