-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 Agents - Support Prompt Template #8631
Open
crickman
wants to merge
63
commits into
main
Choose a base branch
from
feature_agent_template
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+1,950
−882
Conversation
This file contains 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
crickman
added
PR: in progress
Under development and/or addressing feedback
experimental
Associated with an experimental feature
enhancement
agents
labels
Sep 9, 2024
crickman
had a problem deploying
to
integration
September 10, 2024 20:13
— with
GitHub Actions
Error
…/semantic-kernel into feature_agent_template
crickman
had a problem deploying
to
integration
September 12, 2024 18:50
— with
GitHub Actions
Error
crickman
temporarily deployed
to
integration
September 12, 2024 18:52
— with
GitHub Actions
Inactive
crickman
temporarily deployed
to
integration
September 13, 2024 17:57
— with
GitHub Actions
Inactive
crickman
temporarily deployed
to
integration
September 16, 2024 22:03
— with
GitHub Actions
Inactive
…/semantic-kernel into feature_agent_template
crickman
temporarily deployed
to
integration
September 17, 2024 15:54
— with
GitHub Actions
Inactive
crickman
temporarily deployed
to
integration
September 17, 2024 18:25
— with
GitHub Actions
Inactive
crickman
temporarily deployed
to
integration
September 17, 2024 19:34
— with
GitHub Actions
Inactive
crickman
temporarily deployed
to
integration
September 17, 2024 20:01
— with
GitHub Actions
Inactive
crickman
temporarily deployed
to
integration
September 17, 2024 20:39
— with
GitHub Actions
Inactive
crickman
temporarily deployed
to
integration
September 18, 2024 01:39
— with
GitHub Actions
Inactive
crickman
temporarily deployed
to
integration
September 19, 2024 15:06
— with
GitHub Actions
Inactive
crickman
temporarily deployed
to
integration
September 19, 2024 15:54
— with
GitHub Actions
Inactive
crickman
had a problem deploying
to
integration
September 19, 2024 21:10
— with
GitHub Actions
Failure
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
agents
enhancement
experimental
Associated with an experimental feature
kernel
Issues or pull requests impacting the core kernel
.NET
Issue or Pull requests regarding .NET code
PR: ready for review
All feedback addressed, ready for reviews
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
Support ability to paramaterize agent instructions (à la
IKernelTemplate
).This also includes the ability to initialize an agent using a yaml based prompt-template.
Description
Core:
ChatCompletionAgent
andOpenAIAssistantAgent
to support initialization viaPromptTemplateConfig
.Instructions
KernelAgent
(base class)Concepts/Agents
to explore full range of templating patternsStructural:
OpenAIAssistantCapabilities
fromOpenAIAssistantDefinition
to clarify creation viaPromptTemplateConfig
OpenAIAssistant.CreateAsync
andRetrieveAsync
to rationalize functional grouping and optionality.AssistantCreationOptionsFactory
(from privateOpenAIAssistant
method) for clarity and ease of testingAdditionally:
OpenAIAssistantAgent
(due to parameter ordering)Contribution Checklist