forked from microsoft/semantic-kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SequentialPlanner] Add default values to function manual (microsoft#647
) ### Motivation and Context SequentialPlanner was not respecting default values for inputs. ### Description 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 LLM to know the default behavior of a function. The default value is shown in parentheses after the parameter description.
- Loading branch information
1 parent
c5d46a7
commit 69bd011
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
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
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