.NET: [Breaking] Move TextSearchProvider and TextSearchProviderOptions to Microsoft.Agents.AI namespace#2639
Merged
SergeyMenshykh merged 8 commits intomainfrom Dec 5, 2025
Conversation
…ents.AI namespace Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Move TextSearchProvider and TextSearchProviderOptions to Microsoft.Agents.AI namespace
Move TextSearchProvider and TextSearchProviderOptions to Microsoft.Agents.AI namespace
Dec 4, 2025
Member
|
@copilot Please revert the exclusion of the AgentWithTextSearchRag project from the solution. The sample will be updated later. |
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com>
Contributor
Author
dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step01_BasicTextRAG/Program.cs
Show resolved
Hide resolved
…mple Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com>
…om AgentWithRAG_Step01_BasicTextRAG Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com>
This was referenced Dec 22, 2025
This was referenced Jan 9, 2026
This was referenced Jan 19, 2026
This was referenced Jan 28, 2026
arisng
pushed a commit
to arisng/agent-framework
that referenced
this pull request
Feb 2, 2026
…oft.Agents.AI namespace (microsoft#2639) * Initial plan * Move TextSearchProvider and TextSearchProviderOptions to Microsoft.Agents.AI namespace Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com> * Restore AgentWithTextSearchRag project in solution file Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com> * Revert using statement removal in AgentWithRAG_Step01_BasicTextRAG sample Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com> * Revert the previous revert - remove using Microsoft.Agents.AI.Data from AgentWithRAG_Step01_BasicTextRAG Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com> * Revert using statement removal in AgentWithTextSearchRag sample Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com>
This was referenced Mar 2, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Relocates
TextSearchProviderandTextSearchProviderOptionsclasses fromMicrosoft.Agents.AI.Datanamespace toMicrosoft.Agents.AInamespace for better API organization.Description
namespace Microsoft.Agents.AI;instead ofnamespace Microsoft.Agents.AI.Data;Data/subdirectory to parentMicrosoft.Agents.AI/directoryusing Microsoft.Agents.AI.Data;from:AgentJsonUtilities.csTextSearchProviderTests.csNote: Sample files retain the
using Microsoft.Agents.AI.Data;statement and will be updated separately.Before:
After:
Contribution Checklist
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.