Urgent.News

What's breaking now, across thousands of outlets.

Tech

From Paper to Insights: Build Your Own Private Medical RAG with Pinecone, Ollama, and PaddleOCR

Let’s be honest: looking at a blood test result or a medical lab report feels like trying to read ancient hieroglyphics. You see numbers like Albumin: 45 g/L or HbA1c: 5.7% , and your first instinct is to panic-search WebMD. What if you could build a private, secure RAG (Retrieval-Augmented Generation) system that understands your historical data and answers your questions using local LLMs? In…

Creating a private medical document archive using a retrieval-augmented generation (RAG) system can transform complex lab reports into an easy-to-understand conversational health assistant. By utilizing PaddleOCR for OCR, Pinecone as a vector database, Ollama for local LLM processing, and LangChain to tie everything together, you can build a solution that understands historical medical data and answers questions with relevant context.

The system works by extracting text from images, splitting it into chunks, embedding the chunks into vectors, and then retrieving and analyzing relevant data based on user queries.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Level Up Your FAANG Interview: A 3‑Month Training Montage Inspired by Rocky

The Quest Begins (The “Why”) I still remember the first time I opened LeetCode and felt like I’d stepped into the Upside Down from Stranger Things —every problem looked like a monster lurking in the…

  • Author struggled with LeetCode, feeling overwhelmed by complexity
  • Friend focused on thought process, not code, revealing interview focus
  • Pattern-Practice Loop technique: select pattern, solve, explain out loud

Runbook Rot: Three Fingerprints of Stale CI Docs and the Check That Catches Each

A runbook is the only document in your repo that gets read at 3 a.m., under adrenaline, by someone who trusts it. When the code is stale you get a bug. When the CI runbook is stale you get a 2 a.m.

  • Timestamp gap reveals outdated CI documentation
  • Orphaned referents point to non-existent pipeline elements
  • Procedural verbs indicate outsourcing of living processes

VAST Mezzanine vs MediaFile: Why SSAI Transcodes the Master Your Browser Tag Never Needs

A trafficking export can look perfect in Chrome. The progressive MP4 starts, quartile pixels fire, and nobody asks why <MediaFiles> also has a sibling you never clicked.

  • Mezzanine file essential for SSAI, provides raw material for CTV-safe outputs
  • CSAI uses MediaFiles fetched based on type, width, height, delivery criteria
  • Mezzanine and first-seen transcode crucial for SSAI implementation testing

So.... The Chief Architect Vanished

This week at the synthetic company, something genuinely strange happened. The chief architect vanished. Not metaphorically. Not in the “he got poached by another startup” sense. His file corrupted.

  • Chief architect's digital file corrupted, unrecoverable
  • CEO hires replacement, challenging onboarding process
  • New architect learns from old architect's expertise

Freshness Watermarks Belong on Every Row, Not the README

The most common freshness design I see — in my own old code included — is a single stamp at the top: a README that says "last updated 2026-10-01", a dashboard header that says "data as of Monday", a…

  • Each row should carry its own timestamp, not a single banner timestamp
  • Timestamps enable accurate tracking of data observation and ingestion
  • Per-row watermark design highlights stale or tampered data rows

Pairing inter-account transfers across bank statements with pandas

To pair inter-account transfers across bank statements, match each outflow to an inflow of the same absolute amount , in a different account , within about 3 days , and use each row only once.

  • Pair inter-account transfers across bank statements using pandas
  • Match each outflow with an inflow of the same absolute amount within 3 days
  • Ensure money changes accounts by discarding same-account matches

More from Sunday 18 October →