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
Constructors -
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:ModelRequestRetrieves the instructions or input required by the AI model.- Specified by:
getInstructionsin interfaceModelRequest<List<String>>- Returns:
- the instructions or input required by the AI model
-
getOptions
Description copied from interface:ModelRequestRetrieves the customizable options for AI model interactions.- Specified by:
getOptionsin interfaceModelRequest<List<String>>- Returns:
- the customizable options for AI model interactions
-