[{"data":1,"prerenderedAt":61},["ShallowReactive",2],{"pattern-stepfunctions-bedrock-sam":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":32,"level":33,"meta":34,"patternArch":35,"resources":48,"s3URL":6,"services":6,"stem":56,"testing":57,"videoId":6,"__hash__":60},"patterns\u002Fpatterns\u002Fstepfunctions-bedrock-sam.json","AWS Step Functions to Amazon Bedrock Integration",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fbiswanath-mukherjee.json",{"text":13},[14],"sam deploy --guided","Step Functions workflow that invokes Amazon Bedrock Anthropic Claude Model","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fstepfunctions-bedrock-sam","serverless-patterns\u002Fstepfunctions-bedrock-sam","stepfunctions-bedrock-sam","template.yaml",{"headline":25,"text":26},"How it works",[27,28,29,30,31],"Start the Express Workflow using the `start-sync-execution` api command with a prompt string in English for generating content as per the input payload.","The Express Workflow invokes Amazon Bedrock Anthropic Claude v2.1 Model with the prompt.","Amazon Bedrock returns the generated content as the given promptsentiment of the input text.","If the integration works fine, the generated content is returned in Step Function execution results within a output object.","If the integration fails, the Step Functions workflow will retry up to 5 times before exiting with a status:FAILED response.","YAML","200",{},{"icon1":36,"icon2":41,"line1":45},{"x":37,"y":38,"service":39,"label":40},20,50,"sfn","AWS Step Functions",{"x":42,"y":38,"service":43,"label":44},80,"bedrock","Amazon Bedrock",{"from":46,"to":47},"icon1","icon2",{"bullets":49},[50,53],{"text":51,"link":52},"AWS Step Functions launches optimized integration for Amazon Bedrock","https:\u002F\u002Faws.amazon.com\u002Fabout-aws\u002Fwhats-new\u002F2023\u002F11\u002Faws-step-functions-optimized-integration-bedrock\u002F",{"text":54,"link":55},"Build generative AI apps using AWS Step Functions and Amazon Bedrock","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Faws\u002Fbuild-generative-ai-apps-using-aws-step-functions-and-amazon-bedrock\u002F","patterns\u002Fstepfunctions-bedrock-sam",{"text":58},[59],"See the GitHub repo for detailed testing instructions.","CUtj3t6TXfzxrCxqqawoc4-3aZTqbCmg4wsRZSrbMHE",1778846888437]