microsoft / microsoft/agent-framework
[Feature]: AzureAISearchContextProvider lacks a way to set KnowledgeSourceParams
- Dominant language
- Python
- Stars
- 13.6k
- Forks
- 2.3k
- Avg merge
- 2d 45m
- Merged PRs (30d)
- 358
Description
### Description
KnowledgeSourceParams are crucial to configure AI Search with respect to the retrieval of extra fields (IncludeReferenceSourceData field) and many other advanced behaviours.
### Code Sample
```markdown
Add knowledgeSourceParams in the constructor of AzureAISearchContextProvider:
scc = AzureAISearchContextProvider(..., knowledgeSourceParams=[ ... ])
var scc = new AzureAISearchContextProvider(..., knowledgeSourceParams: [ ... ]);
```
### Language/SDK
Both
Contributor guide
Research direction
Start at the AzureAISearchContextProvider entry points in the Python and .NET SDKs and inspect how their constructors expose other retrieval options. Add support for passing KnowledgeSourceParams in both language variants, then verify the provider behavior with the relevant existing tests; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, python
- Domain
- ai, backend, search
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100