Interface GenerativeAIFunctionArguments


@Experimental public interface GenerativeAIFunctionArguments
The arguments the function should be invoked with.
Since:
5.2.250908
  • Method Details

    • get

      @NotNull @NotNull Optional<Object> get(@NotNull @NotNull String name)
      Returns the argument with the given name, if specified.
      Parameters:
      name - The argument name.
      Returns:
      The argument value, if specified.
      Since:
      5.2.250908
    • getString

      @NotNull default @NotNull Optional<String> getString(@NotNull @NotNull String name)
      Returns a String-type argument with the given name, if available.
      Parameters:
      name - The argument name.
      Returns:
      The argument value, if specified.
      Since:
      5.2.250908
    • getNumber

      @NotNull default @NotNull Optional<Number> getNumber(@NotNull @NotNull String name)
      Returns a Number-type argument with the given name, if available.
      Parameters:
      name - The argument name.
      Returns:
      The argument value, if specified.
      Since:
      5.2.250908
    • getBoolean

      @NotNull default @NotNull Optional<Boolean> getBoolean(@NotNull @NotNull String name)
      Returns a Boolean-type argument with the given name, if available.
      Parameters:
      name - The argument name.
      Returns:
      The argument value, if specified.
      Since:
      5.2.250908