~/talk

AI, SQL, and GraphQL Walk into a Fertility Clinic… LLM-based Medical feature development

Talkat PyCon Italia 2024 · 2024-05-22..05-25· [large-language-models, api-design]
links:none on file
slides:none on file

Compares three concrete implementations—LLM+SQL, LLM+RestAPI, and LLM+GraphQL—and demonstrates why the team selects GraphQL: a single endpoint with GraphQL resolver checks that enforce role-based access, combine multiple databases via patient IDs, and return exactly the fields requested. Shows Python LLM chains that generate GraphQL queries from free‑form doctor questions, validate query syntax, run safely through resolvers, and then ask the LLM for a final answer paired with the raw DB results. Notes extra development cost but reports a working prototype with improved security and precision, plus NLP checks and AI-labeled answers.

AI-written summary · about

  1. 0:00Introduction to the challenge
  2. 1:55Medical data query problem
  3. 3:42Doctors' tool requirements
  4. 6:34LLMs for medical queries
  5. 8:43SQL vs GraphQL debate
  6. 15:58GraphQL advantages explained
  7. 20:35Flow with LM and GraphQL
  8. 27:37Key takeaways and 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.