File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
examples/event_handler_bedrock_agents/src Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -401,15 +401,15 @@ Test your routes by passing an [Agent for Amazon Bedrock proxy event](https://do
401401
402402The ` BedrockAgentFunctionResolver ` handles three main aspects:
403403
404- 1 . ** Function Registration** : Using the ` @app.tool() ` decorator
404+ * ** Function Registration** : Using the ` @app.tool() ` decorator
405405
406406| Field | Required | Description |
407407| -------| ----------| -------------|
408408| description | No | Human-readable description of what the function does. |
409409| name | No | Custom name for the function. Defaults to the function name. |
410410
411- 2 . ** Parameter Processing** : Automatic parsing and validation of input parameters
412- 3 . ** Response Formatting** : Converting function outputs into Bedrock Agent compatible responses
411+ * ** Parameter Processing** : Automatic parsing and validation of input parameters
412+ * ** Response Formatting** : Converting function outputs into Bedrock Agent compatible responses
413413
414414### Function-based Responses
415415
Original file line number Diff line number Diff line change 1- from aws_lambda_powertools .event_handler import BedrockFunctionAgentResolver
2- from aws_lambda_powertools .event_handler .api_gateway import BedrockFunctionResponse
1+ from aws_lambda_powertools .event_handler import BedrockAgentFunctionResolver , BedrockFunctionResponse
32
4- app = BedrockFunctionAgentResolver ()
3+ app = BedrockAgentFunctionResolver ()
54
65
76@app .tool (description = "Function that demonstrates response customization" )
You can’t perform that action at this time.
0 commit comments