Skip to content

Commit 72e4317

Browse files
authored
Update and correct Typos as Heidi suggest in the review
Correcting typos in the code comments and update according to Heidi suggest
1 parent 20cc68a commit 72e4317

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/ai-services/agents/includes/azure-search/code-examples.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,14 @@ Get the connection ID of the Azure AI Search connection in the project. You can
8585

8686
```python
8787
# AI Search resource connection ID
88-
# This code look for the AI Search Connection ID and safe it as variable conn_id
89-
# If you have more than one AI search connection, try to stablished the value into your .env file.
88+
# This code looks for the AI Search Connection ID and saves it as variable conn_id
89+
90+
# If you have more than one AI search connection, try to establish the value in your .env file.
9091
# Extract the connection list.
9192
conn_list = project_client.connections._list_connections()["value"]
9293
conn_id = ""
9394

94-
# Search into the metadata field the azure_ai_search type and get the id value to stablished the variable
95+
# Search in the metadata field of each connection in the list for the azure_ai_search type and get the id value to establish the variable
9596
for conn in conn_list:
9697
metadata = conn["properties"].get("metadata", {})
9798
if metadata.get("type", "").upper() == "AZURE_AI_SEARCH":

0 commit comments

Comments
 (0)