Package de.xima.fc.prompt.service
Interface IPromptExecutionReplacerContextResolver
-
public interface IPromptExecutionReplacerContextResolverResolver 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringresolveContextData(String contextName, String content)Resolves the given context placeholder to the data it represents.
-
-
-
Method Detail
-
resolveContextData
String resolveContextData(String contextName, String content)
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.
-
-