Tool Loop Llm Operations
LlmOperations implementation that uses Embabel's framework-agnostic tool loop.
This class provides the core tool loop orchestration logic without depending on any specific LLM framework (Spring AI, LangChain4j, etc.). Subclasses provide the framework-specific implementations for message sending and output conversion.
Parameters
ModelProvider to get the LLM model
ToolDecorator to decorate tools
Validator for bean validation
Generator for validation prompts
Properties for data binding configuration
Resolver for auto LLM selection
Properties for prompt configuration
ObjectMapper for JSON serialization
Registry for distributed tracing observations
Constructors
Functions
Create an output object, in the context of an AgentProcess.
Try to create an output object in the context of an AgentProcess. Return a failure result if the LLM does not have enough information to create the object.
Low level transform, not necessarily aware of platform This is a convenience overload that creates a UserMessage from a String prompt
Low level transform, not necessarily aware of platform
Generate text in the context of an AgentProcess.