Package de.espirit.firstspirit.ai.admin
Interface PromptConfigurationAdminAgent
@Experimental
public interface PromptConfigurationAdminAgent
Agent providing access to the administration of the prompt configuration.
- Since:
- 5.2.241209
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SpecialistType<PromptConfigurationAdminAgent>
Agent providing access to administration of the prompt configuration. -
Method Summary
Modifier and TypeMethodDescription@NotNull ProjectPromptConfiguration
getProjectConfiguration
(long projectId) Returns the modifiable shared prompt configuration.@NotNull ServicePromptConfiguration
Returns the modifiable service prompt configuration.@NotNull SharedPromptConfiguration
Returns the modifiable shared prompt configuration.
-
Field Details
-
TYPE
Agent providing access to administration of the prompt configuration.- Since:
- 5.2.241209
-
-
Method Details
-
getServiceConfiguration
Returns the modifiable service prompt configuration. Server administration privileges are required to modify this configuration.- Returns:
- The service configuration.
- Since:
- 5.2.241209
-
getProjectConfiguration
Returns the modifiable shared prompt configuration. Project administration privileges are required to modify this configuration.- Parameters:
projectId
- The identifier of the project to modify the configuration for.- Returns:
- The shared configuration.
- Throws:
NoSuchElementException
- If the project could not be found.- Since:
- 5.2.241209
-