Continuing down the LangChain


LangChain provides a Pythonic framework for writing LLM powered applications, e.g. tools for asking questions re knowledge bases, personal assistants, chatbots, etc. Given it provides a toolkint to implement “smart” apps, I wanted to go through the motions of implementing something simple + useful.

I started wiring LangChain to my org files and emails but I wasn’t able to fully take it through it’s paces. While most of my organized thoughts are in the org files, there doesn’t seem to be an unstructured parser for it. This means all of the semantic structure (headings, tags, linnks, etc) is lost in raw text parsing & splitting. Solution-wise, should be easy enough to convert the org files to HTML which unstructured will devour happily. Email have their own problem, namely persisting the Chroma vectorstore index because it takes a while to index my tens of thousands of emails. Should also be easy enough with LangChain, but I’m still learning the API calls to pull it off.

Read more ⟶

Setting up LangChain


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:

Read more ⟶

Further from Lone LA Wednesday


Got to see LX and RN today! Glorious fellas. Now, I am tired and go to bed.

Table 1: Lifting: Legs #6
Exercise Set Weight Reps
BBell Squat 1 45 12
BBell Squat 2 145 13
BBell Squat 3 155 14
BBell Squat 3 155 15
BBell Squat 3 155 10
Read more ⟶

Not Lone LA Tuesday


A real reel to reel day. Well tired and headed to bed.

Yesterday’s chest workout was super feeble, maxing out way below the previous week’s. The cause seems to’ve been the few beers I led with – no free fun. Feeling back on my spinach today:

Table 1: Lifting: Shoulders #6
Exercise Set Weight Reps
BBell Seated Overhead Press 1 45 12
BBell Seated Overhead Press 2 75 12
BBell Seated Overhead Press 3 85 10
BBell Seated Overhead Press 4 85 8
BBell Seated Overhead Press 5 85 8
BBell Front Raise 1 45 10
BBell Front Raise 2 45 11
BBell Front Raise 3 45 10
Lateral Raise 1 20 15
Lateral Raise 2 20 18
Lateral Raise 3 20 20
Read more ⟶

Lone LA Monday


In LA, worn out, and heading to bed. Bit of a shell, but a willing one.

Chest and tri’s tho I was low-range energy:

Table 1: Lifting: Chest & Tris #6
Exercise Set Weight Reps
BBell Bench Press 1 115 8
BBell Bench Press 2 115 6
BBell Bench Press 3 115 6
BBell Decline Bench 1 95 8
BBell Decline Bench 2 95 6
BBell Decline Bench 3 95 7
Triceps Extension 1 25 12
Triceps Extension 2 25 10
Triceps Extension 3 25 12
Read more ⟶