article thumbnail

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

AWS Machine Learning - AI

With this solution, you can interact directly with the chat assistant powered by AWS from your Google Chat environment, as shown in the following example. Before processing the request, a Lambda authorizer function associated with the API Gateway authenticates the incoming message.

article thumbnail

Multi-LLM routing strategies for generative AI applications on AWS

AWS Machine Learning - AI

For example, a marketing content creation application might need to perform task types such as text generation, text summarization, sentiment analysis, and information extraction as part of producing high-quality, personalized content. An example is a virtual assistant for enterprise business operations.

article thumbnail

AWS Lambda Benchmarking

Xebia

In this blog post, we examine the relative costs of different language runtimes on AWS Lambda. Many languages can be used with AWS Lambda today, so we focus on four interesting ones. Rust just came to AWS Lambda in November 2023 , so probably a lot of folks are wondering whether to try it out. The payload itself.

Lambda 130
article thumbnail

Easy lambdas with Netlify

Xebia

Over the past years I’ve tried working with lambda functions on and off a couple of times. Netlify changes all that by making lambdas easy to use. The most basic hello world example I could come up with can be found in this repo , tagged basic-javascript-lambda. file in src/functions.

Lambda 130
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

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

AWS Machine Learning - AI

Although the principles discussed are applicable across various industries, we use an automotive parts retailer as our primary example throughout this post. The Lambda function runs the database query against the appropriate OpenSearch Service indexes, searching for exact matches or using fuzzy matching for partial information.

Lambda 127
article thumbnail

Streamlining Workflows with Feature Branches and Logical Stacks

Xebia

This example applies to the more traditional lift and shift approaches. Simple: In the example, we needed an RDS instance. The CheckoutProcess name describes what it is, a role used by, for example, a lambda function that processes the checkout. However, we always advise modernizing to reap all the benefits of the cloud.