Interface FlowInput.Builder

  • Method Details

    • content

      Contains information about an input into the prompt flow.

      Parameters:
      content - Contains information about an input into the prompt flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      Contains information about an input into the prompt flow.

      This is a convenience method that creates an instance of the FlowInputContent.Builder avoiding the need to create one manually via FlowInputContent.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to content(FlowInputContent).

      Parameters:
      content - a consumer that will call methods on FlowInputContent.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nodeInputName

      FlowInput.Builder nodeInputName(String nodeInputName)

      The name of the input from the flow input node.

      Parameters:
      nodeInputName - The name of the input from the flow input node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeName

      FlowInput.Builder nodeName(String nodeName)

      The name of the flow input node that begins the prompt flow.

      Parameters:
      nodeName - The name of the flow input node that begins the prompt flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeOutputName

      FlowInput.Builder nodeOutputName(String nodeOutputName)

      The name of the output from the flow input node that begins the prompt flow.

      Parameters:
      nodeOutputName - The name of the output from the flow input node that begins the prompt flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.