Skip to content

How to set execution settings when call planner.create_plan(...) #5626

Discussion options

You must be logged in to vote

Hi @nguyenhoanganh2002, I see in the following code that the execution settings are hard-coded to read the prompt config from a static json file. The best you can do is configure the number of max_tokens via the SequentialPlannerConfig.

https://github.com/microsoft/semantic-kernel/blob/f0b1d0df783d0420904a7e07c4957c5ce7d00c48/python/semantic_kernel/planners/sequential_planner/sequential_planner.py#L68C9-L77C14

Are there other config values that you need updated besides the max_tokens?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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
None yet
2 participants