I saw a RAG demo from a startup that allows you to upload patient's medical docs, then the doctor can ask it questions like:<p>> what's the patient's bp?<p>even questions about drugs, histories, interactions, etc. The AI keeps in mind the patient's age and condition in its responses, when recommending things, etc. It reminded me of a time I was at the ER for a rib injury and could see my doctor Wikipedia'ing stuff - couldn't believe they used so much Wikipedia to get their answers. This at least seems like an upgrade from that.<p>I can imagine the same thing with laws. Preload a city's, county's etc. entire set of laws and for a sentencing, upload a defendant's criminal history report, plea, and other info then the DA/judge/whoever can ask questions to the AI legal advisor just like the doctor does with patient docs.<p>I mention this because RAG is perfect for these kinds of use cases, where you really can't afford the hallucination - where you need its information to be based on specific cases - specific information.<p>I used to think AI would replace doctors before nurses, and lawyers before court clerks - now I think it's the other way around. The doctor, the lawyer - like the software engineer - will simply be more powerful than ever and have lower overhead. The lower-down jobs will get eaten, never the knowledge work.