Package org.springframework.ai.embedding
Class EmbeddingRequest
java.lang.Object
org.springframework.ai.embedding.EmbeddingRequest
- All Implemented Interfaces:
ModelRequest<List<String>>
- Author:
- Christian Tzolov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the instructions or input required by the AI model.Retrieves the customizable options for AI model interactions.
-
Constructor Details
-
EmbeddingRequest
-
-
Method Details
-
getInstructions
Description copied from interface:ModelRequest
Retrieves the instructions or input required by the AI model.- Specified by:
getInstructions
in interfaceModelRequest<List<String>>
- Returns:
- the instructions or input required by the AI model
-
getOptions
Description copied from interface:ModelRequest
Retrieves the customizable options for AI model interactions.- Specified by:
getOptions
in interfaceModelRequest<List<String>>
- Returns:
- the customizable options for AI model interactions
-