Class SystemPromptTemplate
java.lang.Object
org.springframework.ai.chat.prompt.PromptTemplate
org.springframework.ai.chat.prompt.SystemPromptTemplate
- All Implemented Interfaces:
PromptTemplateActions
,PromptTemplateMessageActions
,PromptTemplateStringActions
-
Field Summary
Fields inherited from class org.springframework.ai.chat.prompt.PromptTemplate
template, templateFormat
-
Constructor Summary
ConstructorDescriptionSystemPromptTemplate
(String template) SystemPromptTemplate
(org.springframework.core.io.Resource resource) -
Method Summary
Methods inherited from class org.springframework.ai.chat.prompt.PromptTemplate
add, getInputVariables, getOutputParser, getTemplate, getTemplateFormat, render, render, setOutputParser, validate
-
Constructor Details
-
SystemPromptTemplate
-
SystemPromptTemplate
public SystemPromptTemplate(org.springframework.core.io.Resource resource)
-
-
Method Details
-
createMessage
- Specified by:
createMessage
in interfacePromptTemplateMessageActions
- Overrides:
createMessage
in classPromptTemplate
-
createMessage
- Specified by:
createMessage
in interfacePromptTemplateMessageActions
- Overrides:
createMessage
in classPromptTemplate
-
create
- Specified by:
create
in interfacePromptTemplateActions
- Overrides:
create
in classPromptTemplate
-
create
- Specified by:
create
in interfacePromptTemplateActions
- Overrides:
create
in classPromptTemplate
-