Create a Lambda function that invokes a Bedrock model with response streaming.
This sample project demonstrates how to write a Lambda function that exposes a function URL, uses the Bedrock InvokeModelWithResponseStreamCommand API, and streams the response back to the API client.
Heeki Park is a Principal Solutions Architect at AWS and has been helping customers build serverless and cloud-native applications since joining AWS in 2016.