Llm Service
Framework-agnostic LLM service abstraction, parallel to com.embabel.common.ai.model.EmbeddingService.
Implementations wrap specific LLM backends (Spring AI, direct API clients, etc.) and provide a consistent interface for creating message senders.
The type parameter THIS enables fluent builder-style methods that preserve the concrete type through method chaining.
Parameters
The concrete implementation type for fluent method chaining
See also
for the Spring AI implementation
for the interface used to make LLM calls
Inheritors
Functions
Create a message sender for this LLM configured with the given options.
Create a message streamer for this LLM configured with the given options.
Check if this LLM service supports streaming operations.
Returns a copy of this LLM service with the specified knowledge cutoff date.
Returns a copy of this LLM service with an additional prompt contributor.