File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -393,6 +393,18 @@ async def clear_history(self, session_id: str):
393393 # This assumes your memory store has a method to delete a collection
394394 await self .memory_store .delete_collection_async (f"message_{ session_id } " )
395395
396+
397+ # Define the expected structure of the LLM response
398+ class PlannerResponseStep (KernelBaseModel ):
399+ action : str
400+ agent : AgentType
401+
402+ class PlannerResponsePlan (KernelBaseModel ):
403+ initial_goal : str
404+ steps : List [PlannerResponseStep ]
405+ summary_plan_and_steps : str
406+ human_clarification_request : Optional [str ] = None
407+
396408# Helper class for Semantic Kernel function calling
397409class SKFunctionRegistry :
398410 """Helper class to register and execute functions in Semantic Kernel."""
You can’t perform that action at this time.
0 commit comments