Skip to content

Commit 145def2

Browse files
authored
Improve the documentation for AI search. (Azure#53368)
1 parent ec340d6 commit 145def2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

sdk/ai/Azure.AI.Agents.Persistent/samples/Sample14_PersistentAgents_Azure_AI_Search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Assert.AreEqual(
125125
run.LastError?.Message);
126126
```
127127

128-
4. In our search we have used an index containing "embedding", "token", "category" and also "title" fields. This allowed us to get reference title and url. In the code below, we iterate messages in chronological order and replace the reference placeholders by url and title.
128+
4. In our search we have used an index containing "embedding", "token", "category", "title" and "url" fields as shown in the image. ![Sample index](images/sample_index.png) The last two fields are needed to get citation title and url, retrieved by the agent. In the code below, we iterate messages in chronological order and replace the reference placeholders by url and title.
129129

130130
Synchronous sample:
131131
```C# Snippet:AgentsPopulateReferencesAgentWithAzureAISearchTool_Sync
52.8 KB
Loading

0 commit comments

Comments
 (0)