Setting up LangChain

Posted on Mar 30, 2023

Aiming for an HIIT exercise given the falling rain outside. Tomorrow’ll be a perfect day (read: not raining) for back & biceps.

LX intro’d me to two generative AI chaps, helping me feed my brain with this space. Specifically, I’d like to know:

  • what are they working on? what are they excited about?
  • is it just the best & biggest model (GPT-4), that works the best?
  • similarly, is fine-tuning worth it?
  • what is the most cost-effective path for self-hosting?

Getting a LangChain environment set up on Guix is teaching me some tricks. I was unable to install the Python hnswlib due to missing a C++ build dependency in my global / home profiles. I spun up a temporary environment with the build deps installed:

guix shell --development python-hnswlib -- poetry install hnswlib