Package de.espirit.firstspirit.ai.admin
Interface PresettablePrompt<T>
- All Known Subinterfaces:
ConfigurablePromptOperation
,ConfigurablePromptOption
,ConfigurableSystemPrompt
@Experimental
public interface PresettablePrompt<T>
Configurable entry of a prompt configuration.
- Since:
- 5.2.241209
-
Method Summary
Modifier and TypeMethodDescriptionReturns the preset definition of the configurable prompt.@NotNull PromptPresetMode
Returns information about the preset classification of this operation.void
Request to restore the settings configured in the original preset.
-
Method Details
-
getPreset
Returns the preset definition of the configurable prompt.- Returns:
- The preset.
- Since:
- 5.2.241209
-
getPresetMode
Returns information about the preset classification of this operation.- Returns:
- The preset mode.
- Since:
- 5.2.241209.
-
restorePreset
void restorePreset()Request to restore the settings configured in the original preset.- Throws:
UnsupportedOperationException
- If the prompt is not based on a preset.- Since:
- 5.2.241209
-