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

[SequentialPlanner] Add default values to function manual #647

Merged
merged 3 commits into from
Apr 25, 2023

Commits on Apr 25, 2023

  1. 🧪 Add test case for creating plan with default parameters

          Summary: This commit adds a new test case to the SequentialPlannerTests class, which checks that the planner can create a plan with default parameters for a given prompt. The test case uses the WriterSkill and the NovelOutline function as an example. The test case asserts that the plan contains the expected function, skill, and default parameter values.
    lemillermicrosoft committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    5af9854 View commit details
    Browse the repository at this point in the history
  2. 🛠️ Add default value information to function manual string

          Summary: This commit modifies the ToManualString extension method for FunctionView to include the default value of each parameter in the generated string. This makes the manual more informative and helpful for users who want to know the default behavior of a function. The default value is shown in parentheses after the parameter description.
    lemillermicrosoft committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    3c52716 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8fa937a View commit details
    Browse the repository at this point in the history