~/talk

RAG for a medical company: the technical and product challenges

Talkat PyData London 2024 · 2024-06-14..06-16· [large-language-models]
links:none on file
slides:none on file

A RAG for the Vidal is built to let doctors query drug monographs and it uses Chainlit with a vector-backed pipeline over Qdrant and Langsmith. Naive 8,000-token chunking and no query reformulation yield many misses on a 100-question test and three-minute lookups; clever HTML-aware chunking plus reformulating to include the INN cuts retrieval errors and gives 88% okay answers and interactive highlighted citations, but latency (~54s) and limited evaluation keep it out of production.

AI-written summary · about

  1. 0:00RAG for medical docs intro
  2. 2:54What is RAG
  3. 5:44Initial RAG performance
  4. 10:22Incorrect RAG answers
  5. 13:15Better chunking for retrieval
  6. 15:42Prompt engineering with INN
  7. 17:49Product owner’s prompt role
  8. 18:32Product risks for doctors
  9. 20:20Usable doctor interface
  10. 22:49Time saved measuring
  11. 24:59Next steps and limits
  12. 27:13Scaling open source
  13. 28:36LLM lifecycle conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.