-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.Net: Sample Demo Code Showcasing Usage of Reasoning Models #10558
base: main
Are you sure you want to change the base?
Conversation
@RogerBarreto I saw there was no sample, so "giving back" a bit ;) |
Thanks for the sample and contribution @joslat. |
@RogerBarreto & @crickman any feedback? :) |
@RogerBarreto - The core of the demo isn't really agent specific. I've recommended to @joslat that it be refactored as a focused sample. |
@crickman I think this is it, simplest implementation possible as a concept sample, ChatCompletion only. |
Motivation and Context
Description
This pull request adds sample demo code that demonstrates how to leverage reasoning models by using a AgentBase class that implements this support nicely.
The new implementation allows agents to specify a reasoning effort level (Low, Medium, High) that is applied to the OpenAIPromptExecutionSettings when invoking Semantic Kernel.
The PR includes three demo agents:
Additionally, a comprehensive README.md has been added with configuration instructions (using User Secrets or environment variables), guidance on setting the project as the default startup, and how to run the demo.
This implementation not only enhances our agentic AI capabilities but also complements the phenomenal code from Roger Barreto (@RogerBarreto), further strengthening Semantic Kernel overall solution.
Contribution Checklist