Skip to content

Commit 23b9ddf

Browse files
committed
knowledge source updates
1 parent f874799 commit 23b9ddf

File tree

1 file changed

+26
-11
lines changed

1 file changed

+26
-11
lines changed

articles/search/agentic-knowledge-source-overview.md

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: HeidiSteen
77
ms.author: heidist
88
ms.service: azure-ai-search
99
ms.topic: how-to
10-
ms.date: 10/01/2025
10+
ms.date: 10/09/2025
1111
---
1212

1313
# Create a knowledge source
@@ -16,37 +16,52 @@ ms.date: 10/01/2025
1616

1717
A knowledge source wraps a search index with extra properties for agentic retrieval. It's a required definition in a knowledge agent. We provide guidance on how to create specific knowledge sources, but generally, you can:
1818

19-
+ Create multiple knowledge sources as top-level resources on your search service.
19+
+ Create a knowledge source as top-level resources on your search service. Each knowledge source points to exactly one index, and that index must [meet the criteria for agentic retrieval](agentic-retrieval-how-to-create-index.md).
2020

2121
+ Reference one or more knowledge sources in a knowledge agent. In an agentic retrieval pipeline, it's possible to query against multiple knowledge sources in single request. Subqueries are generated for each knowledge source. Top results are returned in the retrieval response.
2222

23+
+ Use a knowledge source definition to generate a full indexer pipeline (data source, skillset, indexer, and index) that works for agentic retrieval. Instead of creating multiple objects manually, information in the knowledge source is used to generate all objects, including a populated and searchable index.
24+
2325
Make sure you have at least one knowledge source before creating a knowledge agent. The full specification of a knowledge source and a knowledge agent is in the [REST API reference](/rest/api/searchservice).
2426

25-
## Key points about a knowledge source
27+
## Working with a knowledge source
2628

27-
+ Creation path: first create a knowledge source, then create a knowledge agent. Deletion path: update or delete knowledge agents, delete knowledge sources last.
29+
+ Creation path: first create a knowledge source, then create a knowledge agent.
2830

29-
+ A knowledge source, its index, and the knowledge agent must all exist on the same search service.
31+
+ Deletion path: update or delete knowledge agents to remove references to a knowledge source, and then delete knowledge sources last.
3032

31-
+ Each knowledge source points to exactly one index, and that index must [meet the criteria for agentic retrieval](agentic-retrieval-how-to-create-index.md).
33+
+ A knowledge source, its index, and the knowledge agent must all exist on the same search service.
3234

3335
+ For each knowledge source, the knowledge agent provides extra properties for query execution. [KnowledgeSourceReference](/rest/api/searchservice/knowledge-agents/create-or-update#knowledgesourcereference?view=rest-searchservice-2025-08-01-preview&preserve-view=true) properties affect query planning. [KnowledgeAgentOutputConfiguration](/rest/api/searchservice/knowledge-agents/create-or-update#knowledgeagentoutputconfiguration?view=rest-searchservice-2025-08-01-preview&preserve-view=true) properties affect query output.
3436

3537
## Supported knowledge sources
3638

3739
Here are the knowledge sources you can create in this preview:
3840

39-
+ [Search index knowledge source (an existing index)](agentic-knowledge-source-how-to-search-index.md)
40-
+ [Blob knowledge source](agentic-knowledge-source-how-to-blob.md)
41+
+ [Search index knowledge source (wraps an existing index)](agentic-knowledge-source-how-to-search-index.md)
42+
+ [Blob knowledge source (generates an indexer pipeline)](agentic-knowledge-source-how-to-blob.md)
4143

4244
A platform-specific knowledge source like the blob knowledge source includes specifications for generating an entire indexing pipeline that provides all extraction, enrichment and transformations over blob content, and a viable index. You can modify the pipeline and rerun the indexer, but you can't rename the objects.
4345

4446
> [!NOTE]
4547
> `WebKnowledgeSource` (also referred to as `WebParameters` in REST APIs) isn't currently available in the 2025-08-01-preview.
4648
47-
## Control knowledge source usage
49+
## Create a knowledge source
50+
51+
You must have [permissions](search-security-rbac.md) to create objects on a search service (**Search Service Contributor**), and also permissions to load an index if you're using a blob knowledge source (**Search Index Data Contributor**). You can also [use an API admin key](search-security-api-keys.md).
52+
53+
You must use the REST API or an Azure SDK preview package to create a knowledge source. There's no portal supported at this time. The following links provide instructions for creating a knowledge source:
54+
55+
+ [Search index knowledge source (wraps an existing index)](agentic-knowledge-source-how-to-search-index.md)
56+
+ [Blob knowledge source (generates an indexer pipeline)](agentic-knowledge-source-how-to-blob.md)
57+
58+
After the knowledge source is created, you can reference it in a knowledge agent.
59+
60+
## Use a knowledge source.
61+
62+
Properties on the *knowledge agent* determine whether and how the knowledge source is used. The [KnowledgeSourceReference](/rest/api/searchservice/knowledge-agents/create-or-update#knowledgesourcereference?view=rest-searchservice-2025-08-01-preview&preserve-view=true) array specifies the knowledge sources available to the knowledge agent.
4863

49-
Properties on the knowledge agent determine whether and how the knowledge source is used. The [KnowledgeSourceReference](/rest/api/searchservice/knowledge-agents/create-or-update#knowledgesourcereference?view=rest-searchservice-2025-08-01-preview&preserve-view=true) array specifies the knowledge sources available to the knowledge agent.
64+
The knowledge agent uses the [retrieve action](agentic-retrieval-how-to-retrieve.md) to send queries to the index specified in the knowledge source.
5065

5166
### Use multiple knowledge sources simultaneously
5267

@@ -57,7 +72,7 @@ When you have multiple knowledge sources, set the following properties to bias q
5772

5873
Retrieval instructions are sent as a user-defined prompt to the large language model (LLM) used for query planning. This prompt is helpful when you have multiple knowledge sources and want to provide guidance on when to use each one. For example, if you have separate indexes for product information, job postings, and technical support, the retrieval instructions might say "use the jobs index only if the question is about a job application."
5974

60-
The `alwaysQuerySource` property overrides `retrievalInstructions`. You should set `alwaysQuerySource` to false when providing retrieval instructions.
75+
The `alwaysQuerySource` property overrides `retrievalInstructions`. Set `alwaysQuerySource` to false when providing retrieval instructions.
6176

6277
### Attempt fast path processing
6378

0 commit comments

Comments
 (0)