string
which will in turn be passed into the Lambda function via the event
parameter.
This quick start will demonstrate how an Agent could use a Lambda function to send an email via Amazon Simple Email Service. The lambda code which sends the email is not provided, but if you’d like to learn how this could be done, see here. Keep in mind this is an intentionally simple example; Lambda can used to execute code for a near infinite number of other purposes (including executing more Langchains)!
aws configure
via the AWS CLI, the region
, accessKeyId
, and secretAccessKey
must be provided to the AWSLambda constructor.