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

        ParameterDetail.Builder type​(String 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, Type
      • type

        ParameterDetail.Builder type​(Type 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, Type