Skip to content

Python: Manipulate FunctionCallingStepwisePlanner in the interim #6902

Answered by moonbox3
jungwookim asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jungwookim, thank you for your question. To better assist you, I have a question for you to help make sure I understand the full picture:

In your Apply Scholarship function, are you making the function params (ideally with Annotations) required? By making these parameters required, we're able to send that information to the model so it knows before it can invoke a function that it needs certain information.

For example, the following kernel function:

class ScholarshipPlugin:
    @kernel_function(name="apply_for_scholarship", description="Apply for a scholarship.")
    def apply_for_scholarship(
        self,
        name: Annotated[str, "The name of the applicant."],
        age: Anno…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jungwookim
Comment options

Answer selected by sophialagerkranspandey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
python Pull requests for the Python Semantic Kernel planner Anything related to planner or plans
2 participants