Interface SystemPrompt


public interface SystemPrompt
A global system prompt definition.
Since:
5.2.240903
  • Method Summary

    Modifier and Type
    Method
    Description
    static @NotNull SystemPrompt
    create(@NotNull String name, @NotNull String prompt)
    Creates a new system prompt definition.
    @NotNull String
    Returns the name of this system prompt.
    @NotNull String
    Returns the prompt text of this system prompt.
  • Method Details

    • create

      @NotNull static @NotNull SystemPrompt create(@NotNull @NotNull String name, @NotNull @NotNull String prompt)
      Creates a new system prompt definition.
      Parameters:
      name - The name of the system prompt.
      prompt - The prompt text of the system prompt.
      Returns:
      The resulting system prompt definition.
      Since:
      5.2.240903
    • getName

      @NotNull @NotNull String getName()
      Returns the name of this system prompt.
      Returns:
      The system prompt name.
      Since:
      5.2.240903
    • getPrompt

      @NotNull @NotNull String getPrompt()
      Returns the prompt text of this system prompt.
      Returns:
      The prompt text.
      Since:
      5.2.240903