Package com.tnsai.planning.llm
Class AdaptiveReplanEngine.Builder
java.lang.Object
com.tnsai.planning.llm.AdaptiveReplanEngine.Builder
- Enclosing class:
AdaptiveReplanEngine
Builder for
AdaptiveReplanEngine.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the engine.llm(com.tnsai.llm.LLMClient llm) Sets the LLM client for replanning.maxReplanAttempts(int max) Sets the maximum number of replan attempts (default: 3).planner(LLMDynamicPlanner planner) Sets the planner used for initial plan generation.stepExecutor(StepExecutor executor) Sets the step executor that provides execution logic.
-
Method Details
-
llm
Sets the LLM client for replanning. -
planner
Sets the planner used for initial plan generation. -
stepExecutor
Sets the step executor that provides execution logic. -
maxReplanAttempts
Sets the maximum number of replan attempts (default: 3). -
build
Builds the engine.
-