Interface FunctionDefinition.Builder

  • Method Details

    • description

      FunctionDefinition.Builder description(String description)

      A description of the function and its purpose.

      Parameters:
      description - A description of the function and its purpose.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      A name for the function.

      Parameters:
      name - A name for the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parameters

      The parameters that the agent elicits from the user to fulfill the function.

      Parameters:
      parameters - The parameters that the agent elicits from the user to fulfill the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requireConfirmation

      FunctionDefinition.Builder requireConfirmation(String requireConfirmation)

      Contains information if user confirmation is required to invoke the function.

      Parameters:
      requireConfirmation - Contains information if user confirmation is required to invoke the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requireConfirmation

      FunctionDefinition.Builder requireConfirmation(RequireConfirmation requireConfirmation)

      Contains information if user confirmation is required to invoke the function.

      Parameters:
      requireConfirmation - Contains information if user confirmation is required to invoke the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: