Class SequentialPlanParser
- java.lang.Object
-
- com.microsoft.semantickernel.planner.sequentialplanner.SequentialPlanParser
-
public class SequentialPlanParser extends Object
Parse sequential plan text into a plan.
-
-
Constructor Summary
Constructors Constructor Description SequentialPlanParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlantoPlanFromXml(String xmlString, String goal, ReadOnlySkillCollection skills)Convert a plan xml string to a plan
-
-
-
Method Detail
-
toPlanFromXml
public static Plan toPlanFromXml(String xmlString, String goal, ReadOnlySkillCollection skills) throws PlanningException
Convert a plan xml string to a plan- Parameters:
xmlString- The plan xml stringgoal- The goal for the planskills- The skills to use- Returns:
- The plan
- Throws:
PlanningException
-
-