Skip to content

Commit cc499d5

Browse files
Merge pull request #1480 from sdgilley/patch-10
Update copilot-sdk-build-rag.md
2 parents 5d6ca13 + 237becb commit cc499d5

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

articles/ai-studio/tutorials/copilot-sdk-build-rag.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,19 @@ Now that you have both the script and the template, run the script to test your
155155
python chat_with_products.py --query "I need a new tent for 4 people, what would you recommend?"
156156
```
157157

158-
To enable logging of telemetry to your project, add the `--enable-telemetry` flag:
158+
To enable logging of telemetry to your project:
159159

160-
```bash
161-
python chat_with_products.py --query "I need a new tent for 4 people, what would you recommend?" --enable-telemetry
162-
```
160+
1. Install `azure-monitor-opentelemetry`:
161+
162+
```bash
163+
pip install azure-monitor-opentelemetry
164+
```
165+
166+
1. Add the `--enable-telemetry` flag when you use the `chat_with_products.py` script:
167+
168+
```bash
169+
python chat_with_products.py --query "I need a new tent for 4 people, what would you recommend?" --enable-telemetry
170+
```
163171

164172
## Clean up resources
165173

0 commit comments

Comments
 (0)