Skip to content

Commit a0a9e1c

Browse files
committed
Use AOAI for Python sample
1 parent 0e41264 commit a0a9e1c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

agent-framework/user-guide/workflows/orchestrations/group-chat.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,11 @@ excellence without compromise.
150150
## Set Up the Chat Client
151151

152152
```python
153-
from agent_framework.openai import OpenAIChatClient
153+
from agent_framework.azure import AzureOpenAIChatClient
154+
from azure.identity import AzureCliCredential
154155

155-
# Initialize the OpenAI chat client
156-
chat_client = OpenAIChatClient(model_id="gpt-4o-mini")
156+
# Initialize the Azure OpenAI chat client
157+
chat_client = AzureOpenAIChatClient(credential=AzureCliCredential())
157158
```
158159

159160
## Define Your Agents

0 commit comments

Comments
 (0)