article thumbnail

Fixing oversized artifacts AWS CDK Pipelines

Xebia

CDK comes with certain constructs that make your life easier. However, all other assets are also in the zipfile; this could be the code that you want to run in Lambda functions or even Lambda Layers. Kaboom, the pipeline stops working, and the reason for the failure is not related to the changes you made. Why is that a problem?

AWS 147
article thumbnail

Enhance customer support with Amazon Bedrock Agents by integrating enterprise data APIs

AWS Machine Learning - AI

The Lambda function runs the database query against the appropriate OpenSearch Service indexes, searching for exact matches or using fuzzy matching for partial information. The Lambda function processes the OpenSearch Service results and formats them for the Amazon Bedrock agent.

Lambda 128
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Create a generative AI–powered custom Google Chat application using Amazon Bedrock

AWS Machine Learning - AI

Before processing the request, a Lambda authorizer function associated with the API Gateway authenticates the incoming message. After it’s authenticated, the request is forwarded to another Lambda function that contains our core application logic. The code runs in a Lambda function. Implement your business logic in this file.

article thumbnail

Relative Python imports in a Dockerized lambda function

Xebia

Relative Python imports can be tricky for lambda functions. But recently, I ran into the same issue with Dockerized lambda functions. py touch lib/functions/hello-world/requirements.txt touch lib/functions/hello-world/Dockerfile Now you will need to fill the Dockerfile, like this: FROM public.ecr.aws/lambda/python:3.12

Lambda 130
article thumbnail

Lambda Calculus Through JavaScript, Part 4

Xebia

This is the fourth post in the Lambda Calculus Through JavaScript series. If you’re just joining us, make sure to go back and start with Lambda calculus through JavaScript, part 1. As usual, we’ll discover that lambda calculus gives us the ingredients to introduce this concept without extending the language, just by translation.

Lambda 130
article thumbnail

How BQA streamlines education quality reporting using Amazon Bedrock

AWS Machine Learning - AI

The text extraction AWS Lambda function is invoked by the SQS queue, processing each queued file and using Amazon Textract to extract text from the documents. The text summarization Lambda function is invoked by this new queue containing the extracted text.

Education 111
article thumbnail

IAM Policies: Good, Bad & Ugly

Stackery

An example is a [Lambda Function]([link] uploading files to an [S3 Bucket]([link] Much less frequently do compute resources need to interact with the control plane of a service, which is used to manage resources themselves. Instead, a Lambda Function is used to check the setting. The [stack.new]([link] audit warns us of the issue: ![Audit