Package com.tnsai.planning.llm
Interface StepExecutor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for executing a single plan step.
Implementations provide the actual execution logic for each step, whether that's calling a tool, invoking an API, or running code.
- Since:
- 0.3.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionexecute(LLMPlanStep step) Executes a single plan step and returns the result.
-
Method Details
-
execute
Executes a single plan step and returns the result.- Parameters:
step- the step to execute- Returns:
- the execution result
-