Interface AgentInputMessage.Builder

  • Method Details

    • body

      The text of your message to the agent.

      Parameters:
      body - The text of your message to the agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of input message, which determines how the agent processes your request. Valid values:

      • normal: A regular message to the agent.

      • confirmation_response: A response to a confirmation request from the agent.

      Parameters:
      type - The type of input message, which determines how the agent processes your request. Valid values:

      • normal: A regular message to the agent.

      • confirmation_response: A response to a confirmation request from the agent.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of input message, which determines how the agent processes your request. Valid values:

      • normal: A regular message to the agent.

      • confirmation_response: A response to a confirmation request from the agent.

      Parameters:
      type - The type of input message, which determines how the agent processes your request. Valid values:

      • normal: A regular message to the agent.

      • confirmation_response: A response to a confirmation request from the agent.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: