File tree Expand file tree Collapse file tree
code/backend/batch/utilities/orchestrator Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22import logging
33
44from semantic_kernel import Kernel
5- from semantic_kernel .connectors .ai .function_call_behavior import FunctionCallBehavior
5+ from semantic_kernel .connectors .ai .function_choice_behavior import FunctionChoiceBehavior
66from semantic_kernel .contents import ChatHistory
77from semantic_kernel .contents .chat_message_content import ChatMessageContent
88from semantic_kernel .contents .utils .finish_reason import FinishReason
@@ -57,7 +57,7 @@ async def orchestrate(
5757 )
5858
5959 settings = self .llm_helper .get_sk_service_settings (self .chat_service )
60- settings .function_call_behavior = FunctionCallBehavior .EnableFunctions (
60+ settings .function_call_behavior = FunctionChoiceBehavior .EnableFunctions (
6161 filters = {"included_plugins" : ["Chat" ]}
6262 )
6363
You can’t perform that action at this time.
0 commit comments