Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net: Create Plan Prompt Override #5005

Merged
merged 7 commits into from
Feb 15, 2024

Conversation

teresaqhoang
Copy link
Contributor

Motivation and Context

This PR adds the option to override the CreatePlan prompt.

Description

Users can pass in a callback to HandlebarsPlannerOptions.GetCreatePlanPrompt that returns a valid Handlebars Template string to be used in place of the default CreatePlan prompt.

Users have the options to select any predefined partials in their own template. These helpers are pre-registered and available for reference at the time of import override.

Contribution Checklist

@teresaqhoang teresaqhoang self-assigned this Feb 13, 2024
@teresaqhoang teresaqhoang requested a review from a team as a code owner February 13, 2024 21:40
@shawncal shawncal added the .NET Issue or Pull requests regarding .NET code label Feb 13, 2024
@github-actions github-actions bot changed the title Create Plan Prompt Override .Net: Create Plan Prompt Override Feb 13, 2024
@teresaqhoang teresaqhoang added this pull request to the merge queue Feb 15, 2024
Merged via the queue into microsoft:main with commit 27d5ffe Feb 15, 2024
18 checks passed
@teresaqhoang teresaqhoang deleted the create-plan-prompt-override branch February 15, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants