[{"data":1,"prerenderedAt":76},["ShallowReactive",2],{"pattern-lambda-kendra-bedrock":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":30,"level":31,"meta":32,"patternArch":33,"resources":63,"s3URL":6,"services":6,"stem":71,"testing":72,"videoId":6,"__hash__":75},"patterns\u002Fpatterns\u002Flambda-kendra-bedrock.json","Integrate Amazon Kendra with Amazon Bedrock",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fkruthi-jayasimha-rao.json",{"text":13},[14],"sam deploy --guided --capabilities CAPABILITY_NAMED_IAM","AWS Lambda function to retrieve documents from an Amazon Kendra index and pass it to Amazon Bedrock for a generated response.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-kendra-bedrock","serverless-patterns\u002Flambda-kendra-bedrock","lambda-kendra-bedrock","template.yaml",{"headline":25,"text":26},"How it works",[27,28,29],"AWS Lambda: Two AWS Lambda functions are created. DataSourceSync crawls and indexes the content. InvokeBedrockLambda  invokes the specified model by passing the retrieved content from Amazon Kendra as context to the generative AI model.","Amazon Kendra: An Amazon Kendra index is created with an Amazon S3 data source and InvokeBedrockLambda retrieves the index documents.","Amazon Bedrock: Documents retrieved from the Amazon Kendra index are sent to Amazon Bedrock which responds with a generated response.","Python","200",{},{"icon1":34,"icon2":39,"icon3":43,"icon4":48,"icon5":50,"line1":54,"line2":57,"line3":59,"line4":61},{"x":35,"y":36,"service":37,"label":38},10,65,"s3","Amazon S3",{"x":40,"y":36,"service":41,"label":42},30,"kendra","Amazon Kendra",{"x":44,"y":45,"service":46,"label":47},60,25,"lambda","Create index",{"x":44,"y":36,"service":46,"label":49},"Invoke Bedrock",{"x":51,"y":36,"service":52,"label":53},85,"bedrock","Generate response",{"from":55,"to":56},"icon1","icon2",{"from":56,"to":58},"icon3",{"from":56,"to":60},"icon4",{"from":60,"to":62},"icon5",{"bullets":64},[65,68],{"text":66,"link":67},"Amazon Kendra - Enterprise Search Engine","https:\u002F\u002Faws.amazon.com\u002Fkendra\u002F",{"text":69,"link":70},"Amazon Bedrock - Generative AI","https:\u002F\u002Faws.amazon.com\u002Fbedrock\u002F","patterns\u002Flambda-kendra-bedrock",{"text":73},[74],"See the GitHub repo for detailed testing instructions.","Q8xmi0bTaS1fNM_2yGqdA2UsYmmU5rzIPDtK8jSzV8E",1778846886338]