Uses of Record Class
com.tnsai.planning.llm.LLMPlan
Packages that use LLMPlan
Package
Description
LLM-powered dynamic planning with adaptive replanning and approval gates.
-
Uses of LLMPlan in com.tnsai.planning.llm
Methods in com.tnsai.planning.llm that return LLMPlanModifier and TypeMethodDescriptionLLMDynamicPlanner.generatePlan(String goal) Generates a plan for the given natural-language goal.LLMDynamicPlanner.generatePlan(String goal, Map<String, Object> state) Generates a plan for the given goal with current state context.PlanExecutionResult.plan()Returns the value of theplanrecord component.LLMPlan.remainingFrom(int fromIndex) Creates a new plan with only the remaining steps starting from the given index.LLMPlan.withoutStep(int stepIndex) Creates a new plan with the step at the given index removed.LLMPlan.withReorderedSteps(List<Integer> newOrder) Creates a new plan with steps reordered according to the given indices.Methods in com.tnsai.planning.llm that return types with arguments of type LLMPlanModifier and TypeMethodDescriptionPlanApprovalGate.generateAndReview(LLMDynamicPlanner planner, String goal) Generates a plan and reviews it in one step.PlanApprovalGate.generateAndReview(LLMDynamicPlanner planner, String goal, Map<String, Object> state) Generates a plan with state context and reviews it.Reviews a plan through the approval gate.Methods in com.tnsai.planning.llm with parameters of type LLMPlanModifier and TypeMethodDescriptionAdaptiveReplanEngine.executePlan(LLMPlan plan) Executes an already-generated plan, replanning on failure.AdaptiveReplanEngine.executePlan(LLMPlan plan, Map<String, Object> state) Executes an already-generated plan with state context, replanning on failure.Reviews a plan and returns an approval decision.Reviews a plan through the approval gate.Constructors in com.tnsai.planning.llm with parameters of type LLMPlanModifierConstructorDescriptionPlanExecutionResult(LLMPlan plan, List<StepExecutionResult> stepResults, boolean success, int replanCount) Creates an instance of aPlanExecutionResultrecord class.