Skip to content

Commit b8ea781

Browse files
committed
fixed typo
1 parent b8f6f51 commit b8ea781

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

python/example_code/bedrock-agent-runtime/bedrock_agent_runtime_wrapper.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,18 @@ def invoke_agent(self, agent_id, agent_alias_id, session_id, prompt):
6868

6969
# snippet-end:[python.example_code.bedrock-agent-runtime.InvokeAgent]
7070

71-
# snippet-start:[python.example_code.bedrock-agent-runtime.InvokeFlow]
71+
# snippet-start:[python.example_code.bedrock-agent-runtime.InvokeFlow]
7272
def invoke_flow(self, flow_id, flow_alias_id, input_data, execution_id):
7373
"""
7474
Invoke an Amazon Bedrock flow and handle the response stream.
7575
7676
Args:
77-
client: Boto3 client for Amazon Bedrock agent runtime.
78-
flow_id: The ID of the flow to invoke.
79-
flow_alias_id: The alias ID of the flow.
80-
input_data: Input data for the flow.
81-
execution_id: Execution ID for continuing a flow. Use the value None on first run.
82-
83-
Returns:
84-
The response
77+
param flow_id: The ID of the flow to invoke.
78+
param flow_alias_id: The alias ID of the flow.
79+
param input_data: Input data for the flow.
80+
param execution_id: Execution ID for continuing a flow. Use the value None on first run.
81+
82+
Return: Response from the flow.
8583
"""
8684
try:
8785

0 commit comments

Comments
 (0)