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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add required flag to parameter description and improve plan creation #1223

Merged
merged 6 commits into from
May 25, 2023

Conversation

lemillermicrosoft
Copy link
Member

@lemillermicrosoft lemillermicrosoft commented May 25, 2023

This commit adds a "(required)" suffix to the description of any parameter that is marked as required in the OpenAPI schema. This makes it easier for users to see which parameters are mandatory when using the skills.

Additionally, this commit improves the plan creation logic in the chat skill by passing the full context and user intent to the planner, and merging any context variables into the plan's state. This allows the planner to generate more relevant and accurate steps based on the user input and the current situation.

Contribution Checklist

Sorry, something went wrong.

This commit adds a "(required)" suffix to the description of any
parameter that is marked as required in the OpenAPI schema. This makes
it easier for users to see which parameters are mandatory when using
the skills.

Additionally, this commit improves the plan creation logic in the chat
skill by passing the full context and user intent to the planner, and
merging any context variables into the plan's state. This allows the
planner to generate more relevant and accurate steps based on the user
input and the current situation.
@github-actions github-actions bot added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel samples labels May 25, 2023
@lemillermicrosoft lemillermicrosoft marked this pull request as ready for review May 25, 2023 18:58
@lemillermicrosoft
Copy link
Member Author

Assigning to @teresaqhoang to help test the changes and verify whether it helps with the issues they've been experiencing.

@lemillermicrosoft lemillermicrosoft added the PR: in progress Under development and/or addressing feedback label May 25, 2023
teresaqhoang
teresaqhoang previously approved these changes May 25, 2023
@teresaqhoang
Copy link
Contributor

LGTM! Here's a screenshot from my last verification
image

@lemillermicrosoft lemillermicrosoft added PR: ready for review All feedback addressed, ready for reviews PR: ready to merge PR has been approved by all reviewers, and is ready to merge. and removed PR: in progress Under development and/or addressing feedback labels May 25, 2023
SergeyMenshykh
SergeyMenshykh previously approved these changes May 25, 2023
adrianwyatt
adrianwyatt previously approved these changes May 25, 2023
@adrianwyatt adrianwyatt dismissed stale reviews from teresaqhoang, SergeyMenshykh, and themself via 342ef8e May 25, 2023 21:39
@adrianwyatt
Copy link
Contributor

I brought in a minor fix from a previous PR as well.
image

@adrianwyatt adrianwyatt enabled auto-merge (squash) May 25, 2023 22:01
@adrianwyatt adrianwyatt merged commit d4a76a2 into microsoft:main May 25, 2023
shawncal pushed a commit to shawncal/semantic-kernel that referenced this pull request Jul 6, 2023
…icrosoft#1223)

This commit adds a "(required)" suffix to the description of any
parameter that is marked as required in the OpenAPI schema. This makes
it easier for users to see which parameters are mandatory when using the
skills.

Additionally, this commit improves the plan creation logic in the chat
skill by passing the full context and user intent to the planner, and
merging any context variables into the plan's state. This allows the
planner to generate more relevant and accurate steps based on the user
input and the current situation.
golden-aries pushed a commit to golden-aries/semantic-kernel that referenced this pull request Oct 10, 2023
…icrosoft#1223)

This commit adds a "(required)" suffix to the description of any
parameter that is marked as required in the OpenAPI schema. This makes
it easier for users to see which parameters are mandatory when using the
skills.

Additionally, this commit improves the plan creation logic in the chat
skill by passing the full context and user intent to the planner, and
merging any context variables into the plan's state. This allows the
planner to generate more relevant and accurate steps based on the user
input and the current situation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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 PR: ready to merge PR has been approved by all reviewers, and is ready to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants