Skip to content

Commit 1d9112d

Browse files
giterinhubsicoyle
andauthored
Update daprdocs/content/en/reference/components-reference/supported-conversation/openai.md
Co-authored-by: Sam <sam@diagrid.io> Signed-off-by: Erin La <107987318+giterinhub@users.noreply.github.com>
1 parent ce6f285 commit 1d9112d

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
4141

4242
The `conversation.openai` component can target either OpenAI's hosted API or Azure OpenAI. To select Azure OpenAI, set the component's `apiType` metadata to `azure` and provide the usual Azure-specific connection settings (for example, endpoint/region and API key) in the component configuration.
4343

44-
When `apiType: azure` is used, the environment variable `AZURE_OPENAI_MODEL` may be set to provide a default Azure model identifier to use when the component's `model` metadata is not provided. This environment variable only affects the component when `apiType` is set to `azure` — the regular `DAPR_CONVERSATION_OPENAI_MODEL` remains the default for non-Azure OpenAI usage.
44+
When `apiType: azure` is used, the environment variable `OPENAI_MODEL` may be set to provide a default Azure model identifier to use if the component's `model` metadata is not provided. In addition, the corresponding `endpoint` and `apiVersion` fields will be set to Azure specific settings.
4545

4646
Example (Azure OpenAI configuration):
4747

0 commit comments

Comments
 (0)