Inspiration

One night, I fell terribly sick and couldn’t stop vomiting. It was late, and visiting a drugstore or hospital wasn’t an option. Searching our medicine cabinet, we found several medicines but had no idea which one to take or how to use it. That’s when it struck me how life-saving it would be to have a reliable system that identifies medicines, explains their usage, and provides guidance during such emergencies.

What it does

MediScope is a medicine information retrieval system that answers user queries about drugs. It helps identify medicines, explains their usage, and addresses related concerns, offering quick and reliable guidance.

How we built it!

  • Leveraged PubChem API to fetch drug information (names, usage, safety) instead of PDFs.
  • Used RecursiveCharacterTextSplitter for chunking text.
  • Employed multiprocessing to perform bulk inserts into Snowflake efficiently.
  • Categorized medicines (e.g., antiseptics, analgesics) using Mistral Large 2 for classification.
  • Ran Cortex Search through the Snowflake API.
  • Integrated Cortex Search results with the Mistral LLM family, using contextual prompts for responses.
  • Deployed the entire system on Streamlit Community Cloud for accessibility. ## Challenges we ran into
  • Finding an open-source, reliable dataset API.
  • Debugging issues in the code during integrations.
  • Understanding new technologies like Snowflake Cortex and Mistral, as we were using them for the first time. ## Accomplishments that we're proud of
  • Successfully combining various tools and technologies into one cohesive system.
  • Staying committed to the project for two months despite challenges and setbacks. ## What we learned
  • New technologies: Snowflake Cortex, RAG, and Mistral LLMs.
  • Team collaboration and effective communication.
  • Perseverance and overcoming roadblocks with self-belief and determination. ## What's next for MediScope Our vision is to make MediScope more accurate and reliable by expanding its dataset. We aim to transform it into a comprehensive tool that benefits society by offering trusted medical guidance in moments of need.

Built With

Share this project:

Updates