Package de.espirit.firstspirit.ai
Interface PromptConfigurationTestPlugin
Plugin providing testing capabilities for prompt operations during their configuration.
- Since:
- 5.2.240903
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Context containing information about the prompt to be evaluated. -
Method Summary
-
Method Details
-
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
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
-