How to install Langchain on an M2 Macbook

and develop a simple Q/A app.

Roman Orac


Photo by Patrick Tomasso on Unsplash

Recently I started playing with Langchain, which is a popular framework for large language models. Langchain enables you to quickly create a chatbot (or an agent) by using OpenAI’s ChatGPT.

While installing Langchain on an M2 Macbook is quite straightforward with:

pip install langchain