Package de.espirit.firstspirit.ai.admin
Interface SystemPromptList
- All Superinterfaces:
PromptList<ConfigurableSystemPrompt>
A modifiable list of system prompts.
- Since:
- 5.2.241209
-
Method Summary
Modifier and TypeMethodDescription@NotNull ConfigurableSystemPrompt
create()
Creates a new configurable system prompt, usePromptList.add(Object)
to add the configured prompt to this list.default @NotNull Optional<ConfigurableSystemPrompt>
Searches for a specific system prompt by name.Methods inherited from interface de.espirit.firstspirit.ai.admin.PromptList
add, get, remove, set
-
Method Details
-
get
Searches for a specific system prompt by name.- Parameters:
name
- The name of the system prompt to look for.- Returns:
- The matching system prompt, if there is one.
- Since:
- 5.2.241209
-
create
Creates a new configurable system prompt, usePromptList.add(Object)
to add the configured prompt to this list. Make sure to configure a unique name for the system prompt before adding it.- Returns:
- The configurable prompt.
- Since:
- 5.2.241209
-