Class ChatPromptTemplate

java.lang.Object
org.springframework.ai.prompt.ChatPromptTemplate
All Implemented Interfaces:
PromptTemplateActions, PromptTemplateChatActions, PromptTemplateStringActions

public class ChatPromptTemplate extends Object implements PromptTemplateActions, PromptTemplateChatActions
A PromptTemplate that lets you specify the role as a string should the current implementations and their roles not suffice for your needs.