Skip to content

Commit e0c856a

Browse files
Merge pull request #6189 from dargilco/dargilco/fix-trace-application-page
Fix call to get_azure_openai_client. Fix typo.
2 parents d86133f + d9ced65 commit e0c856a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-foundry/how-to/develop/trace-application.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ When developing with the OpenAI SDK, you can instrument your code so traces are
116116
1. Use the OpenAI SDK as usual:
117117

118118
```python
119-
client = project_client.get_azure_openai_client()
119+
client = project_client.inference.get_azure_openai_client()
120120

121121
response = client.chat.completions.create(
122122
model="deepseek-v3-0324",
@@ -194,7 +194,7 @@ When developing with the OpenAI SDK, you can instrument your code so traces are
194194

195195
## Trace to console
196196

197-
It may be useful to also trace your application and send the traces to the local execution console. Such approach may result beneficial when running unit tests or integration tests in your application using an automated CI/CD pipeline. Traces can be sent to the console and captured by your CI/CD tool to further analysis.
197+
It may be useful to also trace your application and send the traces to the local execution console. Such approach may be beneficial when running unit tests or integration tests in your application using an automated CI/CD pipeline. Traces can be sent to the console and captured by your CI/CD tool to further analysis.
198198

199199
Configure tracing as follows:
200200

0 commit comments

Comments
 (0)