adding Retrieval Bot sample#166
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new Retrieval Bot sample for the Build Conference 2025, including all necessary solution, project, configuration, plugin, and controller files to launch a .NET web service bot that integrates with Microsoft Graph and Semantic Kernel. Key changes include:
- Addition of multiple solution and project files along with configuration files (appsettings.json, .gitignore, and manifest.json)
- Implementation of various plugins (e.g., AdaptiveCard, SendMail, BuildRetrieval) and an agent class that leverages them
- Setup of authentication and bot controllers for handling messages
Reviewed Changes
Copilot reviewed 124 out of 124 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| Microsoft.Agents.M365Copilot.sln | Adds new solution to support the Retrieval Bot sample |
| .gitignore | Includes standard Visual Studio exclusions for the new project |
| appsettings.json | Configures authentication, token validation, and AI service parameters for the bot |
| RetrievalBot.sln & RetrievalBot.csproj | Define the solution and project structure; note duplicate package references |
| RetrievalBot.cs | Implements the core bot functionality using the Retrieval Agent |
| Various Plugins & Controllers | Introduce functionality for adaptive cards, email sending, contact retrieval, etc. |
| AspNetExtentions.cs & manifest.json | Provide authentication setup and app manifest for Teams integration |
Comments suppressed due to low confidence (1)
samples/complex/RetrievalBot/dotnet/RetrievalBot/RetrievalBot.cs:30
- [nitpick] The variable name 'weatherAgent' is misleading since the agent handles retrieval tasks; consider renaming it to 'retrievalAgent' for clarity.
RetrievalAgent weatherAgent = new RetrievalAgent(_kernel, this);
…ievalBotFork into RetrievalBotBranch
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…csproj Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
MattB-msft
enabled auto-merge
July 22, 2025 03:31
MattB-msft
approved these changes
Jul 22, 2025
tracyboehrer
approved these changes
Jul 28, 2025
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.
Added the Retrieval Bot sample that will work for Build.