[{"data":1,"prerenderedAt":58},["ShallowReactive",2],{"pattern-lambda-bedrock-response-streaming":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":28,"level":29,"meta":30,"patternArch":31,"resources":45,"s3URL":6,"services":6,"stem":53,"testing":54,"videoId":6,"__hash__":57},"patterns\u002Fpatterns\u002Flambda-bedrock-response-streaming.json","AWS Lambda with Amazon Bedrock response streaming",null,{"text":8},[9],"\u003Ccode>sam delete\u003C\u002Fcode>",[11],"content\u002Fcontributors\u002Fheeki-park.json",{"text":13},[14],"sam deploy -g","Create a Lambda function that invokes a Bedrock model with response streaming.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-bedrock-response-streaming","serverless-patterns\u002Flambda-bedrock-response-streaming","lambda-bedrock-response-streaming","template.yaml",{"headline":25,"text":26},"How it works",[27],"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.","Node.js","200",{},{"icon1":32,"icon2":37,"line1":41},{"x":33,"y":34,"service":35,"label":36},20,50,"lambda","AWS Lambda",{"x":38,"y":34,"service":39,"label":40},80,"bedrock","Amazon Bedrock",{"from":42,"to":43,"label":44},"icon1","icon2","",{"bullets":46},[47,50],{"text":48,"link":49},"Configuring a Lambda function to stream responses","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fconfiguration-response-streaming.html",{"text":51,"link":52},"Amazon Bedrock InvokeModelWithResponseStream API","https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002FAPIReference\u002FAPI_runtime_InvokeModelWithResponseStream.html","patterns\u002Flambda-bedrock-response-streaming",{"text":55},[56],"See the GitHub repo for detailed testing instructions.","y3C4JrmwQ7WzDSneyWOj2mV-59gkEIiP3M6qGWRCVrA",1781606114428]