A minimal example on how to run LangChain on Vercel using Flask.
Create and activate virtualenv
.
virtualenv MY_ENV
source MY_ENV/bin/activate
pip install requirements.txt
vercel dev
GET http://localhost:3000
To run this project, you will need to add the following environment variables to your .env file
OPENAI_API_KEY
Learn more about how to use LangChain by visiting the offical documentation or repo: