Package de.espirit.firstspirit.ai.admin
Interface PromptOperationList
- All Superinterfaces:
PromptList<ConfigurablePromptOperation>
A modifiable list of prompt operations, containing both fully modifiable operations and inherited ones.
Keep in mind that for
inherited operations only the
tags can be modified, any other modification will be ignored.
Operations available as preset can be modified on in the ServicePromptConfiguration but can not be removed.- Since:
- 5.2.241209
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull ConfigurablePromptOperationcreate()Creates a new configurable prompt, usePromptList.add(Object)to add the operation to this list.@NotNull ConfigurablePromptOperationCreates a new configurable prompt, usePromptList.add(Object)to add the operation to this list.default @NotNull Optional<ConfigurablePromptOperation>Searches for a specific operation by id.Methods inherited from interface de.espirit.firstspirit.ai.admin.PromptList
add, get, remove, set
-
Method Details
-
get
Searches for a specific operation by id.- Parameters:
id- The id of the operation to look for.- Returns:
- The matching operation, if there is one.
- Since:
- 5.2.241209
-
create
Creates a new configurable prompt, usePromptList.add(Object)to add the operation to this list.- Parameters:
id- The unique identifier of the operation.- Returns:
- The configurable prompt.
- Since:
- 5.2.241209
-
create
Creates a new configurable prompt, usePromptList.add(Object)to add the operation to this list.- Returns:
- The configurable prompt.
- Since:
- 5.2.241209
-