Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 629 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 629 Bytes

About

Getting Langchain to work in Lambda required building a custom layer. Given that Langchain is moving quickly, I want to have a way to build the latest version of Langchain as needed.

How does this work?

First, make sure Docker is running. Then run runner.sh to generate Python.zip file. Then upload to AWS Lambda environment:

Lambda Layer

In the future, you can update requirements.txt and Dockerfile to the latest version.

Thanks to Felix Yu for providing the starting guide.