Interface IPromptExecutionReplacerBound


  • public interface IPromptExecutionReplacerBound
    A replacer bound to specific settings, allowing multiple replacements with the same configuration. Depending on the implementation, this may be more efficient than calling IPromptExecutionReplacer#replace multiple times with the same settings.
    Since:
    8.5.0
    • Method Detail

      • replace

        String replace​(String input)
        Replaces all placeholders in the given input string according to the configuration of this replacer.
        Parameters:
        input - The input string possibly containing placeholders.
        Returns:
        The input string with all applicable placeholders replaced.