AI-powered medication clarity and safety platform.
Built during the Commure Hackathon 2025, RX-Check helps patients and caregivers manage medications post-discharge by combining LLMs and vector search for clarity, safety, and ease of use.
- Upload prescriptions (PDF)
- Track active/inactive medications
- Generate medication summaries and warnings using Google Gemini
- Semantic drug search with Pinecone
- Support for multiple patient profiles and family management
- Hoverable UI cards showing drug details and interactions
- Frontend: React, Material UI, Axios
- Backend: FastAPI (Python), Uvicorn, Motor (MongoDB)
- LLM: Google Gemini (
gemini-1.5-pro) - Search: Pinecone + Sentence Transformers (
all-MiniLM-L6-v2)
git clone https://github.com/sgtanvi/commure.git
cd commureCreate a .env file in the root of your backend with:
HOST=0.0.0.0
PORT=4000
LOCATION=us-central1
PINECONE_API_KEY= YOUR_API_KEY
GEMINI_API_KEY= YOUR_API_KEY
PINECONE_ENVO=us-east-1
MONGODB_URI=mongodb://localhost:27017
DB_NAME=rxcheckcd backend
pip install -r requirements.txtuvicorn backend:app --reload --host localhost --port 4000or
python backend.pycd ../frontend
npm install
npm run devReact will run on http://localhost:5173 and FastAPI backend on http://localhost:4000
commure/
├── backend/
│ ├── backend.py # FastAPI app
│ ├── pinecone_query.py # Drug search logic
│ ├── pinecone_init.py # Vector index initialization
│ ├── gemini_response.py # Gemini API integration
├── frontend/
│ ├── components/
│ ├── pages/
│ ├── App.tsx # Main routes
│ └── LandingPage.tsx # Prescription UI & summary