Uses of Interface
org.springframework.ai.model.ModelRequest
Package
Description
Provides a set of interfaces and classes for a generic API designed to interact with
various AI models.
-
Uses of ModelRequest in org.springframework.ai.audio.transcription
Modifier and TypeClassDescriptionclass
Represents an audio transcription prompt for an AI model. -
Uses of ModelRequest in org.springframework.ai.chat.prompt
Modifier and TypeClassDescriptionclass
The Prompt class represents a prompt used in AI model requests. -
Uses of ModelRequest in org.springframework.ai.embedding
Modifier and TypeClassDescriptionclass
Represents a request to embed a list of documents.class
Request to embed a list of input instructions. -
Uses of ModelRequest in org.springframework.ai.image
-
Uses of ModelRequest in org.springframework.ai.model
Modifier and TypeInterfaceDescriptioninterface
Model<TReq extends ModelRequest<?>,
TRes extends ModelResponse<?>> The Model interface provides a generic API for invoking AI models.interface
StreamingModel<TReq extends ModelRequest<?>,
TResChunk extends ModelResponse<?>> The StreamingModel interface provides a generic API for invoking an AI models with streaming response. -
Uses of ModelRequest in org.springframework.ai.moderation
Modifier and TypeClassDescriptionclass
Represents a prompt for moderation containing a single message and the options for the moderation model. -
Uses of ModelRequest in org.springframework.ai.openai.audio.speech
Modifier and TypeClassDescriptionclass
TheSpeechPrompt
class represents a request to the OpenAI Text-to-Speech (TTS) API.