This repository provides a one-click dev environment for building "LLM apps" with LangChain, Gitpod, and GPT-3. With it, you'll get free access to a VS Code-based web editor, complete with a fully-configured Python playground, that includes the neccessary SDKs, libraries, and IDE extensions π±βπ»
-
Fork this repo to your account, by clicking the
Fork
button on the top right π -
In order to interact with GPT-3, you'll need to create an account with OpenAI, and generate an API key that LangChain can use. Once you have that, create a new Codespaces repo secret named
OPENAI_API_KEY
, and set it to the value of your API key. -
Open your new repo in Gitpod by clicking the green
Open in Gitpod
button in the readme or simply by prefixing your repo URL withgitpod.io/#
. -
Once you're within the web editor, simply open any of the notebooks within the
/examples
folder, and selectRun All
in the notebook's toolbar. From there, you can change any of the prompts and/or code, and then re-run the cell/notebook, in order to get a better intuition for how LangChain can help you build your own custom chains π