Interface ParameterDetail.Builder

    • Method Detail

      • 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.