Your Fridge Is a Valid Payment Device — Eleonora Drykina & Nina Žižakić, In The Pocket
- Source
- youtube.com
- Publisher
- AI Engineer
- Author
- AI Engineer
- Date
Context
A retrieved fragment can lose the structure that explains what it means. In this conference talk, Eleonora Drykina and Nina Žižakić of In The Pocket describe an assistant answering questions from roughly 270 PDF rulebooks for a Belgian payments . Their indexing keeps enough location and ordering information to assemble a larger section when a short search result is insufficient, and preserves which table headings belong with which entries.
The assistant can broaden its evidence gathering, but limits keep a large document from overwhelming the input. That balances two risks: returning too little to interpret a rule, and returning so much that the relevant passage gets buried. Adding keyword search (BM25) to meaning-based search raised the reported retrieval hit rate from 92% to 97% on 63 test questions. That measures whether useful material was found; it does not establish that every resulting answer correctly applied the payment rules.
- The assistant indexes about 270 payment-rule PDFs (6,000 pages) while preserving section paths and chunk order, so a larger passage can be reconstructed from a hit instead of relying on overlapping chunks.
- Tables, where much of the answer-bearing information sits, are converted to CSV while keeping the relationship between headings and values.
- Combining dense retrieval with BM25 raised the reported retrieval hit rate from 92% to 97% on 63 questions, a retrieval measure rather than a measure of complete answer correctness.
- The agent widens its search through four tools, from search results to sections, full documents and multiple rulebooks, with limits so one oversized rulebook cannot flood the .
- With a median answer time of 38 seconds, the team streams Markdown separately from the completed source card so users see progress before the full structured answer is ready.
- Client — The program that sends a request to a server and receives its response.
- Retrieval — Selecting evidence relevant to the current request.
- streaming — Sending a model's response token by token as it is generated, so the reader sees text immediately instead of waiting for the whole answer.
- Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.






