Interface IPromptExecutionReplacerContextResolver
public interface IPromptExecutionReplacerContextResolver
Resolver for context placeholders. A context placeholder is of the form
[%<contextName>.<content>%], with the
context name and content being arbitrary strings.- Since:
- 8.5.0
-
Method Summary
Modifier and TypeMethodDescriptionresolveContextData(String contextName, String content) Resolves the given context placeholder to the data it represents.
-
Method Details
-
resolveContextData
Resolves the given context placeholder to the data it represents. Return null if not resolvable. This will give other resolvers a chance to resolve it. A context placeholder is of the form[%<contextName>.<content>%].- Parameters:
contextName- The name of the context.content- The content after the context name and the dot.- Returns:
- The resolved data, or null if not resolvable.
-