Skip to content

Commit d0105d0

Browse files
Merge pull request #5203 from HeidiSteen/heidist-freshness
Fix typo
2 parents 7002a96 + 4acba69 commit d0105d0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

articles/search/search-agentic-retrieval-how-to-pipeline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def agentic_retrieval() -> str:
202202
messages = project_client.agents.list_messages(thread.id, limit=5, order=ListSortOrder.DESCENDING)
203203
# Reverse the order so the most recent message is last
204204
messages.data.reverse()
205-
retrieval_result = agent_client.knowledge_retrieval.retrieve(
205+
retrieval_result = retrieval_result = agent_client.retrieve(
206206
retrieval_request=KnowledgeAgentRetrievalRequest(
207207
messages=[KnowledgeAgentMessage(role=msg["role"], content=[KnowledgeAgentMessageTextContent(text=msg.content[0].text)]) for msg in messages.data],
208208
target_index_params=[KnowledgeAgentIndexParams(index_name=index_name, reranker_threshold=2.5)]

articles/search/search-howto-reindex.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ To minimize disruption to application code, consider [creating an index alias](s
256256

257257
## Add an index description (preview)
258258

259-
Beginning with REST API version 2025-05-01-preview, an `indexdescription` is now supported. This human-readable text is invaluable when a system must access several indexes and make a decision based on the description. Consider a Model Context Protocol (MCP) server that must pick the correct index at run time. The decision can be based on the description rather than on the index name alone.
259+
Beginning with REST API version 2025-05-01-preview, a `ddescription` is now supported. This human-readable text is invaluable when a system must access several indexes and make a decision based on the description. Consider a Model Context Protocol (MCP) server that must pick the correct index at run time. The decision can be based on the description rather than on the index name alone.
260260

261261
An index description is a schema update, and you can add it without having to rebuild the entire index.
262262

@@ -275,7 +275,7 @@ The Azure portal supports the latest preview API.
275275

276276
1. Select **Edit JSON**.
277277

278-
1. Insert `"indexDescription"`, followed by the description.
278+
1. Insert `"description"`, followed by the description.
279279

280280
:::image type="content" source="media/search-how-to-index/edit-index-json.png" alt-text="Screenshot of the JSON definition of an index in the Azure portal.":::
281281

@@ -285,11 +285,11 @@ The Azure portal supports the latest preview API.
285285

286286
1. [GET an index definition](/rest/api/searchservice/indexes/get).
287287

288-
1. Copy the JSON.
288+
1. Copy the JSON so that you can use it as the basis of a new request.
289289

290-
1. [Formulate an index update PUT request](/rest/api/searchservice/indexes/create-or-update?view=rest-searchservice-2025-05-01-preview&preserve-view=true) using the preview API, providing the *full* JSON of the existing schema, plus the new description field.
290+
1. [Formulate an index update using a PUT request](/rest/api/searchservice/indexes/create-or-update?view=rest-searchservice-2025-05-01-preview&preserve-view=true) and the preview API, providing the *full* JSON of the existing schema, plus the new description field.
291291

292-
1. To confirm the description, issue another [GET using the 2025-05-01-preview REST API](/rest/api/searchservice/indexes/create-or-update?view=rest-searchservice-2025-05-01-preview&preserve-view=true).
292+
1. To confirm the change, issue another [GET using the 2025-05-01-preview REST API](/rest/api/searchservice/indexes/create-or-update?view=rest-searchservice-2025-05-01-preview&preserve-view=true).
293293

294294
---
295295

0 commit comments

Comments
 (0)