Skip to content

Commit c14f6d6

Browse files
committed
Updated getting started doc to clarify environment variable setup with component file
Signed-off-by: Roberto Rodriguez <9653181+Cyb3rWard0g@users.noreply.github.com>
1 parent 012b678 commit c14f6d6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

daprdocs/content/en/developing-applications/dapr-agents/dapr-agents-getting-started.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@ spec:
9595
value: 1
9696
```
9797

98-
This component wires the default `DaprChatClient` to OpenAI via the Conversation API. The `{{OPENAI_API_KEY}}` placeholder picks up the value from your `.env` file, so you only need to set the key once. You can also tweak metadata (model, temperature, baseUrl, etc.) to point at compatible OpenAI-style providers.
99-
100-
Replace the placeholder with your actual OpenAI key (either by resolving the template at runtime or by editing the file directly). This API key is essential for agents to communicate with the LLM, as the default chat client talks to OpenAI-compatible endpoints. If you don't have an API key, you can [create one here](https://platform.openai.com/api-keys).
98+
This component wires the default `DaprChatClient` to OpenAI via the Conversation API. Replace the `{{OPENAI_API_KEY}}` placeholder with your actual OpenAI key by editing the file directly. This API key is essential for agents to communicate with the LLM, as the default chat client talks to OpenAI-compatible endpoints. If you don't have an API key, you can [create one here](https://platform.openai.com/api-keys). You can also tweak metadata (model, temperature, baseUrl, etc.) to point at compatible OpenAI-style providers.
10199

102100
### 3. Create the agent with weather tool
103101

0 commit comments

Comments
 (0)