Project Info
Inspiration
Our inspiration for WeHeal stemmed from a deep-seated desire to revolutionize the counseling and therapy landscape, aiming to enhance both efficiency and effectiveness. Recognizing the challenge faced by counselors and therapists in managing extensive patient case files while striving to deliver personalized care, we embarked on a journey to create a solution. Consider a scenario where a counselor, with a packed schedule of five patients per day across four days a week, grapples with recalling every detail of a patient's conversation, especially as sessions progress. We sought to bridge this gap by developing a tool that seamlessly integrates with practitioners' workflows, empowering them to provide unparalleled support and care to their clients, regardless of session volume or complexity.
What it does
WeHeal serves as an invaluable AI assistant powered by LangChain to counselors and therapists, streamlining their workflow by efficiently summarizing patient case files and providing tailored recommendations derived from both past and ongoing interactions. Our platform enhances the effectiveness and efficiency of counseling sessions, while keeping the past context to ultimately empower professionals to better support their clients on their journey towards healing and growth.
How we built it
---The project is divided mainly into three parts: Agents powered by Intel's "Prediction Guard" LLM models: to store user data into vector database, contextuatize the user data. The chat history is stored in a Momento DB cache. Agents support the core logic of our application, including summarization of user details based on PDF case data and to provide tailored suggestions to the counselors. Frontend: Built in ReactJS uses the APIs exposed by the backend to showcase how the power of our AI companion. It uses "Canva.dev" for few components. API Backend: Built with flask to bridge the gap between the Agent and the Frontend. ---The deployment is done using "Vercel", as shown in the Demo. ---We built WeHeal using a combination of programming languages and technologies, including Python for backend development, React for the frontend, and various APIs for data analysis and natural language processing. We also utilized cloud services for hosting and deployment.
Challenges we ran into
None of us knew how to do front end development so, we had to learn and deploy at the same time, Canva.dev was a huge help for us in this challenge. Another issue that we faced was LanceDB, which is apparently new to the market with limited community support. Majority issues were faced with LLM chaining together to provide context with chat history and user details. Integrating different components together was also a challenge towards the end.
Accomplishments we're proud of
We ar proud of our idea which could a game-changer for the superheroes who are the counselors helping patients fight mental health issues. We're proud to have successfully developed a functional end to end prototype of WeHeal within the timeframe of the hackathon. This prototype can succesfully be used to demonstrate the power of our LLM agents. Our platform demonstrates the potential to significantly improve the workflow of counselors and therapists, ultimately benefiting both professionals and their clients.
What we learned
Through the process of building WeHeal, we gained valuable experience in full stack web development, RAG, VectorDB, Langchain, and many more technologies that were completely new to us. We also learnt the existence of amazing companies oproviding amazing solutions, some of which we integrated in our application. This includes Intel's Prediction Guard, Canva.dev components, and deployments via VercelW
What's next
Looking ahead, our vision for WeHeal involves a comprehensive evolution aimed at empowering users on their mental wellness journey. We're committed to refining and enhancing the platform to offer a personalized space where individuals can seamlessly upload their daily thoughts. Leveraging advanced algorithms and user data, WeHeal will then intelligently suggest affirmations and curated meditation resources tailored to each user's unique needs and emotional state. Moreover, we're exploring innovative solutions such as blockchain technology to securely store patient case files. This ensures that individuals can seamlessly transition between therapists or counselors without any loss of crucial information. By implementing blockchain, we guarantee the integrity and accessibility of patient records, enabling new practitioners to gain comprehensive insights through smart summaries, thus fostering continuity of care and empowering individuals to receive the support they need, wherever they may be.
TreeHacks2024
WeHeal
Introduction
Welcome to WeHeal, a revolutionary platform designed to transform the counseling and therapy landscape. Our goal is to enhance the efficiency and effectiveness of counseling sessions by providing counselors and therapists with powerful AI-driven tools. With WeHeal, professionals can streamline their workflows, gain valuable insights from patient interactions, and ultimately deliver personalized care to their clients.
Inspiration
WeHeal was born out of a profound desire to address the challenges faced by counselors and therapists in managing extensive patient case files while striving to deliver personalized care. We envisioned a solution that seamlessly integrates into practitioners' workflows, empowering them to provide unparalleled support and care to their clients, regardless of session volume or complexity.
What it Does
WeHeal serves as an invaluable AI assistant powered by LangChain. It streamlines counselors' and therapists' workflows by efficiently summarizing patient case files and providing tailored recommendations derived from past and ongoing interactions. By retaining past context, WeHeal enables professionals to better support their clients on their journey towards healing and growth.
How We Built It
WeHeal is comprised of three main components:
-
Agents powered by Intel's "Prediction Guard" LLM models: These agents store user data into a vector database and contextualize the data. They support the core logic of our application, including summarizing user details based on PDF case data and providing tailored suggestions to counselors.
-
Frontend: Built in ReactJS, the frontend utilizes APIs exposed by the backend to showcase the power of our AI companion. Canva.dev was used for some components.
-
API Backend: Built with Flask, the backend bridges the gap between the Agent and the Frontend. Deployment is done using Vercel, as demonstrated in the demo.
We utilized a combination of programming languages and technologies, including Python for backend development, React for the frontend, and various APIs for data analysis and natural language processing. Cloud services were used for hosting and deployment.
Challenges We Ran Into
One major challenge was the lack of expertise in frontend development, which required us to learn and deploy simultaneously. Canva.dev proved to be immensely helpful in overcoming this challenge. Additionally, integrating LanceDB, a relatively new database technology, presented challenges due to limited community support. We also faced difficulties with LLM chaining to provide context with chat history and user details.
Accomplishments We're Proud Of
We're proud to have developed a functional end-to-end prototype of WeHeal within the timeframe of the hackathon. Our platform demonstrates the potential to significantly improve the workflow of counselors and therapists, benefiting both professionals and their clients. We believe WeHeal could be a game-changer for counselors helping patients fight mental health issues.
What We Learned
Building WeHeal provided us with valuable experience in full-stack web development, RAG, VectorDB, LangChain, and various other technologies that were previously unfamiliar to us. We also discovered amazing companies providing solutions that we integrated into our application, including Intel's Prediction Guard, Canva.dev components, and deployment via Vercel.
What's Next for WeHeal
Moving forward, we envision a comprehensive evolution of WeHeal aimed at empowering users on their mental wellness journey. We're committed to refining and enhancing the platform to offer a personalized space where individuals can seamlessly upload their daily thoughts. Leveraging advanced algorithms and user data, WeHeal will intelligently suggest affirmations and curated meditation resources tailored to each user's unique needs and emotional state.
Furthermore, we're exploring innovative solutions such as blockchain technology to securely store patient case files. This ensures seamless transitions between therapists or counselors without any loss of crucial information. By implementing blockchain, we guarantee the integrity and accessibility of patient records, fostering continuity of care and empowering individuals to receive the support they need, wherever they may be.
Demo
To see WeHeal in action, check out our demo here.
Contributors
- Manikanta Sanjay Veera
- Ashish Agarwal
- Mridang Kejriwal
Analysis
View
Metric
- 22
- 3
- 1
Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.
Technology
- CSSIn code
- FlaskIn code
- HTMLIn code
- LangChainIn code
- LlamaIndexIn code
- PythonIn code
- ReactIn code
- TypeScriptIn code
8 of 8 appear in the indexed code.
AI coding agents
No AI coding agent signals were found in this repository.
Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.
Codebase size
Source size
34 KB
Source files
13
Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.
Repository
AshishAgarwal2101/WeHeal
30 files · 2.0 MB · @ b59daf0
Structure
Interface
1 file · 3%Screens, components and styles rendered to the user.
Application logic
11 files · 37%Domain rules, services and shared utilities.
Supporting
Layers are inferred from where files sit in the tree, not from reading the code. A project that names its directories unconventionally will read oddly here — open the file browser to check anything the diagram implies.
Languages
- TypeScript36%
- Python34%
- Markdown17%
- CSS12%
- HTML1%
Share of indexed source by file size. Binary and vendored files are excluded.
Dependencies
frontend/package.json
npm · 17- @canva/app-ui-kit
- @types/node
- bootstrap
- react
- react-bootstrap
- react-dom
- react-router-dom
- +10 more
backend/requirements.txt
pypi · 9- flask
- flask-cors
- lancedb
- langchain
- llama-index
- llama-parse
- momento
- predictionguard
- sentence-transformers
Declared in the repository’s manifests at the indexed commit. A declared package is not proof it is used, and runtime dependencies are listed first.
This project’s features have not been analysed yet.
Export this project's context (description, README, evidence, key source files) to chat with an AI agent elsewhere.