Interface ParameterDetail.Builder

  • Method Details

    • description

      ParameterDetail.Builder description(String description)

      A description of the parameter. Helps the foundation model determine how to elicit the parameters from the user.

      Parameters:
      description - A description of the parameter. Helps the foundation model determine how to elicit the parameters from the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • required

      ParameterDetail.Builder required(Boolean required)

      Whether the parameter is required for the agent to complete the function for action group invocation.

      Parameters:
      required - Whether the parameter is required for the agent to complete the function for action group invocation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The data type of the parameter.

      Parameters:
      type - The data type of the parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The data type of the parameter.

      Parameters:
      type - The data type of the parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: