Interface PromptConfigurationTestPlugin

All Superinterfaces:
Plugin, Public

public interface PromptConfigurationTestPlugin extends Plugin
Plugin providing testing capabilities for prompt operations during their configuration.
Since:
5.2.240903
  • Method Details

    • getPreferredTags

      @NotNull @NotNull Set<String> getPreferredTags()
      Returns the preferred operation tags this plugin is intended to evaluate operation prompts for. The preferred tags may be used to pre-select this plugin if it matches the operation to be tested. However, the administrator can still choose to use this plugin anyway, even if the tags do not match.
      Returns:
      The preferred operation tags.
      Since:
      5.2.240903
    • getDefaultText

      @NotNull @NotNull String getDefaultText()
      The default input text to be shown when testing prompts with this plugin.
      Returns:
      The default input text.
      Since:
      5.2.240903
    • createRequest

      @NotNull @NotNull Request createRequest(@NotNull PromptConfigurationTestPlugin.PromptOperationContext context)
      Creates a new request object perform the AI request with.
      Parameters:
      context - The context containing the operation attributes to be tested.
      Returns:
      The request to be used.
      Since:
      5.2.240903