Access to quality healthcare is a global challenge, with half the population lacking essential health services. Overcrowded systems, delayed diagnoses, and poor-quality care result in millions of preventable deaths annually. CareConnect was inspired by the need to bridge this gap by bringing healthcare closer to patients and supporting doctors in making faster, more accurate decisions.
CareConnect processes medical data by storing it in a Snowflake database, where documents are divided into manageable chunks using LangChain. A hybrid search system powered by Cortex Search enables low-latency, high-quality retrieval of relevant information by combining vector and keyword-based search, ensuring precise and contextualized responses.
Users interact through a Streamlit interface to upload prescriptions or ask health-related questions, with relevant data extracted and matched from the database. This information is then processed by the Mistral AI model to generate accurate, context-aware responses, streamlining diagnosis and decision-making in healthcare.
Untitled.video.-.Made.with.Clipchamp.2.mp4
- Frontend: Built with Streamlit for a user-friendly interface.
- Backend: Developed in Python, integrating with Snowflake for data storage and Cortex Search for processing.
- Core Components: Utilized LangChain for document processing, Snowflake Cortex Search for hybrid search, and Mistral AI for generating context-aware responses.
- Processing large documents efficiently.
- Optimizing similarity searches for faster response times.
- Managing version issues during deployment.
- Successfully implemented a hybrid search system with Cortex Search for more accurate results.
- Addressed and resolved technical challenges through thorough research, making the app highly reliable and efficient.
- The importance of combining vector-based and keyword-based search using Snowflake Cortex Search for more accurate and contextually relevant results.
- Technical skills in data management with Snowflake, hybrid search optimization using Cortex Search, AI integration, and full-stack development with Python and Streamlit.
✅ Multilingual Support: To make the system accessible globally. ✅ Voice Inputs: To enhance user interaction and accessibility. ✅ Data Storage Expansion: To include more comprehensive medical knowledge, improving the system’s overall effectiveness.
- Cortex Search
- LLM
- Mistral AI
- Python
- RAG (Retrieval-Augmented Generation)
- Snowflake
- Streamlit
-
Clone this repository:
git clone https://github.com/AnkurKumarShukla/CareConnect.git
-
Navigate to the backend directory:
cd careconnect/backend
-
Create a
.env
file in the backend directory and add the following environment variables:#SNOWFLAKE_USER=ITXXXX #SNOWFLAKE_PASSWORD=XXXXXX #SNOWFLAKE_ACCOUNT=XXXXXX aws_accesskey = XXXXXXXXXXXXX secret_key = XXXXXXXXXXXXXXXXXXXXXX
-
Run the Streamlit application:
streamlit run app.py