Artificial Intelligence

Adam Nemeth

Author: Adam Nemeth

Adam Nemeth works for AWS as a Senior Solutions Architect. In his role, he helps global financial clients embrace cloud computing more quickly by providing architectural guidance and technical support. He lives in Switzerland with his wife and their three children. Adam worked at UBS before joining AWS, and he has over 24 years of IT expertise.

Structured data response with Amazon Bedrock: Prompt Engineering and Tool Use

We demonstrate two methods for generating structured responses with Amazon Bedrock: Prompt Engineering and Tool Use with the Converse API. Prompt Engineering is flexible, works with Bedrock models (including those without Tool Use support), and handles various schema types (e.g., Open API schemas), making it a great starting point. Tool Use offers greater reliability, consistent results, seamless API integration, and runtime validation of JSON schema for enhanced control.