.NET: Easy to run AgentWebChat sample#3050
Open
Vijay-Nirmal wants to merge 3 commits intomicrosoft:mainfrom
Open
.NET: Easy to run AgentWebChat sample#3050Vijay-Nirmal wants to merge 3 commits intomicrosoft:mainfrom
Vijay-Nirmal wants to merge 3 commits intomicrosoft:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a user-friendly way to run the AgentWebChat sample by introducing interactive Aspire Dashboard configuration and comprehensive documentation. The changes make it easy for developers to quickly start using the sample with different AI providers (OpenAI, Azure OpenAI, or Ollama) without manually editing configuration files.
Key changes:
- Added comprehensive README.md documentation with setup instructions, provider configuration guidance, and conceptual overview
- Implemented interactive Aspire parameters for Provider, Model, Endpoint, and AccessKey configuration
- Extended ModelExtensions.cs to support the new multi-parameter configuration approach
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| dotnet/samples/AgentWebChat/README.md | Comprehensive documentation covering sample overview, prerequisites, configuration instructions, and framework concepts |
| dotnet/samples/AgentWebChat/AgentWebChat.AppHost/Program.cs | Added interactive Aspire parameters for configurable AI provider setup with guidance for OpenAI, Azure OpenAI, and Ollama |
| dotnet/samples/AgentWebChat/AgentWebChat.AppHost/ModelExtensions.cs | Added new AddAIModel overload accepting interactive parameters and updated Build() method to handle the new connection string format |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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
Fix: #573
Description
Added a user-friendly way to run the AgentWebChat sample with the configuration provided by Aspire UI, and added ReadMe.md
Contribution Checklist