Uses of Class
org.springframework.ai.chat.prompt.PromptTemplate
Package
Description
RAG Sub-Module: Query Augmentation.
RAG Sub-Module: Query Expansion.
RAG Sub-Module: Query Transformation.
-
Uses of PromptTemplate in org.springframework.ai.chat.prompt
Modifier and TypeClassDescriptionclass
class
class
-
Uses of PromptTemplate in org.springframework.ai.rag.generation.augmentation
Modifier and TypeMethodDescriptionContextualQueryAugmenter.Builder.emptyContextPromptTemplate
(PromptTemplate emptyContextPromptTemplate) ContextualQueryAugmenter.Builder.promptTemplate
(PromptTemplate promptTemplate) ModifierConstructorDescriptionContextualQueryAugmenter
(PromptTemplate promptTemplate, PromptTemplate emptyContextPromptTemplate, Boolean allowEmptyContext) -
Uses of PromptTemplate in org.springframework.ai.rag.preretrieval.query.expansion
Modifier and TypeMethodDescriptionMultiQueryExpander.Builder.promptTemplate
(PromptTemplate promptTemplate) ModifierConstructorDescriptionMultiQueryExpander
(ChatClient.Builder chatClientBuilder, PromptTemplate promptTemplate, Boolean includeOriginal, Integer numberOfQueries) -
Uses of PromptTemplate in org.springframework.ai.rag.preretrieval.query.transformation
Modifier and TypeMethodDescriptionTranslationQueryTransformer.Builder.promptTemplate
(PromptTemplate promptTemplate) ModifierConstructorDescriptionTranslationQueryTransformer
(ChatClient.Builder chatClientBuilder, PromptTemplate promptTemplate, String targetLanguage) -
Uses of PromptTemplate in org.springframework.ai.util
Modifier and TypeMethodDescriptionstatic void
PromptAssert.templateHasRequiredPlaceholders
(PromptTemplate promptTemplate, String... placeholders) Assert that the given prompt template contains the required placeholders.