This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Suppose there is a HandlebarsPlanner object named planner. Which line generates a plan for a prompt?
HandlebarsPlanner
planner
planner.GeneratePlan( prompt);
planner.CreatePlanAsync( kernel, prompt);
planner.CreatePlanAsync( prompt);
How is automatic function calling enabled in the Semantic Kernel SDK?
By using kernel.InvokeAsync( prompt);
kernel.InvokeAsync( prompt);
By using kernel.EnableAutomaticFunctionCalling( true);
kernel.EnableAutomaticFunctionCalling( true);
By using OpenAIPromptExecutionSettings with ToolCallBehavior.AutoInvokeKernelFunctions
OpenAIPromptExecutionSettings
ToolCallBehavior.AutoInvokeKernelFunctions
Which line retrieves the plan template from a HandlebarsPlan object?
HandlebarsPlan
plan.GetTemplate();
plan.ToString();
plan.GetPlanTemplate();
You must answer all questions before checking your work.
Continue
Was this page helpful?