bedrockagentruntime_invoke_flow: Invokes an alias of a flow to run the inputs that you specify...

View source: R/bedrockagentruntime_operations.R

bedrockagentruntime_invoke_flowR Documentation

Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream

Description

Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.

See https://www.paws-r-sdk.com/docs/bedrockagentruntime_invoke_flow/ for full documentation.

Usage

bedrockagentruntime_invoke_flow(
  enableTrace = NULL,
  executionId = NULL,
  flowAliasIdentifier,
  flowIdentifier,
  inputs,
  modelPerformanceConfiguration = NULL
)

Arguments

enableTrace

Specifies whether to return the trace for the flow or not. Traces track inputs and outputs for nodes in the flow. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.

executionId

The unique identifier for the current flow execution. If you don't provide a value, Amazon Bedrock creates the identifier for you.

flowAliasIdentifier

[required] The unique identifier of the flow alias.

flowIdentifier

[required] The unique identifier of the flow.

inputs

[required] A list of objects, each containing information about an input into the flow.

modelPerformanceConfiguration

Model performance settings for the request.


paws.machine.learning documentation built on April 3, 2025, 8:41 p.m.