PlayThe Thinking Library

The Thinking Library

My Thinking Library is a retrieval experiment. I want to ask a question in Danish and surface an idea from a different field, even when the question and the source share no keywords. That takes both a search index and a rule for deciding when to leave a result on the shelf.

In short, without the jargon

I keep ideas from books and podcasts on small cards with their sources. When I ask a question, my assistant can look for a relevant idea from another field. If the idea makes it into the answer, I can give feedback on it. That feedback is saved and can inform the review of later suggestions.

One idea per card

I choose books, articles, podcasts, and talks. My assistant works from source texts, transcripts, and notes. It writes a longer analysis, then extracts one idea per Markdown card. The cards live in a dedicated QMD collection.

A card records the thinker, source, field, and tags alongside a short quote in context. Another field describes the mechanism behind the idea and the conditions under which it might transfer. Those fields give the assistant something to check when it makes a connection.

Example cardPiano practice

The last few bars

In a fictional practice note, a pianist starts over every time she makes a mistake. She often gets only halfway through the piece.

The idea on the cardWhen every mistake sends you back to the start, the beginning gets the most practice.

How does a search become an angle?

When we dig into a question, the assistant looks for a causal mechanism. It searches with both my Danish wording and a short English description of the mechanism because many of the cards are in English.

Expand the query
QMD can use qmd-query-expansion-1.7B to generate alternative ways to search.
Retrieve candidates
BM25 ranks text by the words that match. EmbeddingGemma-300M represents both the query and card text as vectors, so an idea can also surface because of its meaning.
Rerank the matches
Qwen3-Reranker-0.6B considers the retrieved passages alongside the query and reorders them. The assistant then checks the source.

The assistant goes back to the quotation, checks what the author meant, and asks whether the same mechanism is at work in the new setting. It includes an angle only when that adds something to the answer. I get at most one per topic.

What can a search by meaning find?

The index can retrieve the piano practice card when someone asks about testing a form. That can happen even if the card never mentions forms. The assistant then weighs the proposed connection against the original source, context, and a possible test.

About QMD on GitHub

Fictional conversation

Why do we first hear about confirmation errors after people start using the form?

A possible angle
If you stop testing at the first error and start over at the first field, the confirmation rarely gets tested. Try saving a completed form and starting the next test at Submit.
What would count against it?
Count how often you reach the confirmation. If you already test it as often as the first field, piano practice probably doesn’t explain the problem.

My threshold for using a card

My v3 rubric uses an ordinal scale from 1 to 5. Each score records a judgment.

Source checks
Source fidelity and honest attribution must each score at least 4. Relevance to the actual question must score at least 3.
Value to the answer
Either surprise or practical leverage must score at least 4. Together with the potential to open up a new question or experiment, those three scores must add up to at least 10.

Was the angle worth sharing?

When the assistant shares an angle, it records it in an append-only JSONL log, one event per line. In Telegram, an intermediary removes a hidden marker from the text and attaches five feedback buttons to that specific angle.

shown
The displayed angle gets an ID so a later reaction can be tied to the exact card and context.
reaction
A tap appends a reaction to that ID. A repeated tap with the same value is idempotent. If I change my response, the new reaction is appended to the history.
outcome
Later, I can record what happened when I tried the idea. Finding a connection surprising and confirming its prediction are two different observations.

A separate report uses the latest reaction for each displayed angle. “Already knew it” provides a signal about novelty. An unanswered angle stays open.

What happens to my response?

The report can inform future selection. Running inference, recording feedback, and adjusting the selection rules are separate operations.

A tap changes no model weights. It takes more feedback across a wider range of reactions to justify changing the selection weights. The original angle and any later test remain available in the event history.

Try the five reactions

I just saw something I’d overlooked. That tells the assistant the connection was new to me.

Now I know what I want to try. In this case I could test the confirmation on its own.

I’d made that connection before. Next time the assistant can account for what I’ve already heard.

I follow the piano example, but the leap to testing a form feels like a stretch. Take another look at what the two situations have in common.

I think there’s a mistake. Check the source, the interpretation, or the explanation again.

Choose a reaction to see what it means. Your choice stays here in the example.

Glossary
append-only JSONL log
A file where each new event gets its own line at the bottom. Nobody edits or deletes the old lines.
BM25
A classic way of searching. It finds the texts that use the same words as the question.
EmbeddingGemma-300M
An AI model that turns a text into numbers. The numbers describe what the text means.
idempotent
Doing it twice makes no difference. Like pressing the lift button one more time.
inference
When the model works out an answer. It happens every time someone asks it something.
Markdown card
A simple way of writing text. Both people and computers can read the files.
model weights
The numbers the model learned during training. They are what makes the model smart.
QMD
A search program that runs on my own computer. It can search by both words and meaning.
qmd-query-expansion-1.7B
A small AI model that writes my question in several ways. Then the search finds more.
Qwen3-Reranker-0.6B
An AI model that reads the best finds one more time. It puts them in a better order.
retrieval
Finding the right piece of text in a big pile. Like a librarian who fetches the book you need.
rubric
A sheet of fixed questions that I grade by. Like a teacher's marking guide.
search index
A register of all the cards, so the computer can look things up quickly. Like the index at the back of a book.
vectors
A long row of numbers that describes what a text means. Two texts with almost the same numbers are about the same thing.