Class Prompt

java.lang.Object
org.springframework.ai.chat.prompt.Prompt
All Implemented Interfaces:
ModelRequest<List<Message>>

public class Prompt extends Object implements ModelRequest<List<Message>>
The Prompt class represents a prompt used in AI model requests. A prompt consists of one or more messages and additional chat options.
Author:
Mark Pollack, luocongqiu