Skip to content

Commit e5ef8f5

Browse files
committed
updating docs to reflect sdk updates
1 parent 19605b3 commit e5ef8f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Get the connection ID of the Azure AI Search connection in the project. You can
6969
conn_list = project_client.connections.list()
7070
conn_id = ""
7171
for conn in conn_list:
72-
if conn.connection_type == "CognitiveSearch":
72+
if conn.connection_type == "AZURE_AI_SEARCH":
7373
print(f"Connection ID: {conn.id}")
7474
```
7575
# [C#](#tab/csharp)

0 commit comments

Comments
 (0)