06Learning in public
What I'm learning
Notes on what's clicking for me in AI, and small projects I build to test each idea. Every project runs live in a sandbox below: edit the code, break it, reset it.
On my desk now
- Eval harnesses for LLM features
- Agent tool-use patterns
- Retrieval quality metrics
4
notes logged
3
runnable projects
Mini projects
The lab
Each one is a small, self-contained website running in an isolated sandbox: no sign-in, no network access, nothing leaves your browser.
Learning log
New understanding, written down
Short notes: what I learned, why it matters, and what it changes in how I build.
- Fundamentals
Tokens aren't words, and that's a pricing decision
Models read subword tokens, so cost and context limits scale with how text tokenizes, not with word count. Code, rare words and non-English text cost noticeably more per word.
- Estimate cost from tokens per request × requests per day, not from characters.
- Long system prompts are a fixed tax on every call - trim them before trimming features.
- Non-English users can pay a hidden premium for the same answer.
So whatWhen I scope an LLM feature, the unit-economics line now starts with a token budget.
- RAG
Hybrid search beats either half on its own
Vector search finds paraphrases; keyword search finds exact terms like product names and acronyms. Reciprocal Rank Fusion merges both using only rank, so the scores never need to be comparable.
- Pure embeddings miss exact identifiers (SKUs, "SSO", error codes).
- RRF needs no tuning beyond k, which makes it a safe default.
- Retrieval quality caps answer quality - fix retrieval before prompts.
So whatThis is how /ask retrieves: pgvector and full-text, fused with RRF.
- Fundamentals
Temperature changes the odds, not the model
The model scores every candidate token the same way at any setting. Temperature reshapes those odds and top-p cuts off the tail, so sampling settings are a product choice: predictable vs. varied.
- Low temperature for extraction, classification and anything graded.
- Higher temperature plus top-p for ideation, where variety is the point.
- Temperature 0 isn't fully deterministic - design for small variation anyway.
- RAG
Citations are a trust feature, not a footnote
Showing the passage an answer came from turns "is this right?" into something users can check in seconds. Escalating what the model can't answer to a human closes the loop and grows the knowledge base.
- Cite at the claim level, not at the bottom of the answer.
- "I don't know" + handoff beats a confident guess.
- Every unanswered question is a content gap to log.
Open to product leadership roles & AI-native product work
Learning is the job
If your team is figuring out where AI fits in the product, I'd love to compare notes.
