Fix RAG Pipeline – HIPAA-Compliant Medical Document Q&A API (LLM/FastAPI)
Worldwide
We are looking for an experienced AI/Backend Engineer to troubleshoot and optimize a partially developed RAG (Retrieval-Augmented Generation) pipeline that processes HIPAA-regulated medical documents, including clinical notes, insurance claims, and prior authorization letters. The application is built using FastAPI, LangChain, OpenAI, and Pinecone, with integration into a Node.js backend. While the system is functional, it is currently producing inaccurate retrieval results and, in rare cases, exposing raw PHI in generated responses. Addressing these issues is critical to ensuring both accuracy and HIPAA compliance. Scope of Work - Review and debug the vector embedding and retrieval pipeline. - Optimize chunk sizing, overlap settings, and metadata filtering to improve retrieval accuracy. - Update LLM prompts and response handling to ensure PHI is properly redacted before responses are returned. - Verify that FastAPI endpoints return clean, structured JSON responses, including confidence scores where applicable. - Confirm that HIPAA audit logging is functioning correctly and capturing all required request activity. - Test and validate the overall system to ensure reliable, compliant, and accurate output. Requirements - Proven experience with RAG systems, LangChain, OpenAI APIs, and Pinecone. - Strong knowledge of FastAPI and backend API development. - Familiarity with HIPAA compliance, PHI handling, and healthcare-related applications. - Ability to quickly identify root causes and implement effective solutions. The codebase is clean, documented, and ready for review. We are seeking a professional who can efficiently diagnose the issues, implement fixes, and verify that the system meets both accuracy and compliance requirements.
$25.00
Fixed-price- IntermediateExperience Level
- Remote Job
- One-time projectProject Type
Skills and Expertise
Activity on this job
- Proposals:20 to 50
- Last viewed by client:2 weeks ago
- Hires:1
- Interviewing:0
- Invites sent:0
- Unanswered invites:0
About the client
- United StatesFairbanls4:27 AM
- $11K total spent609 hires, 22 active
- 73 hours
Explore similar jobs on Upwork
How it works
Create your free profileHighlight your skills and experience, show your portfolio, and set your ideal pay rate.
Work the way you wantApply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
Get paid securelyFrom contract to payment, we help you work safely and get paid securely.
About Upwork
- 4.9/5(Average rating of clients by professionals)
- G2 2021#1 freelance platform
- 49,000+Signed contract every week
- $2.3BFreelancers earned on Upwork in 2020
Find the best freelance jobs
Growing your career is as easy as creating a free profile and finding work like this that fits your skills.
Trusted by