Making non-black-box embeddings: ask an LLM questions instead of using 1536-dim vectors
kieranklaassen · x · 2026-09-26
kieranklaassen shares a neat idea: build non-black-box embeddings by asking an LLM (via Jev) questions about each document and using the answers as the vector, instead of an opaque 1536-dimension embedding. For example, the email "I got charged twice this month, pls fix asap" becomes a readable vector like [iscustomer, urgent, aboutbilling, needsreply...]. He later corrects that a weighted dot product, not cosine similarity, should be used. The result is interpretable, tunable retrieval and classification.
More from coding & agent
- Unsplash MCP server lets AI clients search stock photos with content-safety filtering — modelcontextprotocol · 2026-09-26
- Razuna ships DAM MCP connector with 59 tools for AI-powered asset search — modelcontextprotocol · 2026-09-26
- OpenClaw adds plugin hot reloading, demos live install of Apple PIM plugin — heyneighbor · 2026-09-26
- OpenAI Codex outage hits Web, API, CLI and VS Code, fully resolved in about an hour — reach_vb · 2026-09-26
- ComfyUI Launches Comfy Router to Simplify Model Providers and Rate Limits — PurzBeats · 2026-09-26
- Codex system prompts reveal web search tool carves out special quoting exemption for Reddit, 25-word cap otherwise — coloradical5280 · 2026-09-26