Package org.springframework.ai.image
Class ImagePrompt
java.lang.Object
org.springframework.ai.image.ImagePrompt
- All Implemented Interfaces:
ModelRequest<List<ImageMessage>>
-
Constructor Summary
ConstructorsConstructorDescriptionImagePrompt(String instructions) ImagePrompt(String instructions, ImageOptions imageOptions) ImagePrompt(List<ImageMessage> messages) ImagePrompt(List<ImageMessage> messages, ImageOptions imageModelOptions) ImagePrompt(ImageMessage imageMessage, ImageOptions imageOptions) -
Method Summary
-
Constructor Details
-
ImagePrompt
-
ImagePrompt
-
ImagePrompt
-
ImagePrompt
-
ImagePrompt
-
-
Method Details
-
getInstructions
Description copied from interface:ModelRequestRetrieves the instructions or input required by the AI model.- Specified by:
getInstructionsin interfaceModelRequest<List<ImageMessage>>- 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<ImageMessage>>- Returns:
- the customizable options for AI model interactions
-
toString
-
equals
-
hashCode
public int hashCode()
-