Package de.espirit.firstspirit.ai.admin
Interface PromptConfiguration
- All Known Subinterfaces:
ProjectPromptConfiguration,ServicePromptConfiguration,SharedPromptConfiguration
@Experimental
public interface PromptConfiguration
A modifiable prompt configuration in a specific context (service, shared or project).
- Since:
- 5.2.241209
-
Method Summary
Modifier and TypeMethodDescription@NotNull PromptOperationListReturns all prompt operations in the current context.@NotNull PromptOptionListReturns all prompt options in the current context.voidsave()Saves the current prompt configuration.
-
Method Details
-
getOperations
Returns all prompt operations in the current context.- Returns:
- The list of operations.
- Since:
- 5.2.241209
-
getOptions
Returns all prompt options in the current context.- Returns:
- The list of options.
- Since:
- 5.2.241209
-
save
Saves the current prompt configuration.- Throws:
IOException- If an unexpected I/O error occurred while saving the configuration.SecurityException- If the current user does not have the required permission to modify the configuration.- Since:
- 5.2.241209
-