2023-06-17.17-38-44.mp4
An interactive medical chat-bot based on Streamlit and Langchain Python's Frameworks, the chat-bot responds in the same language as the user, it is supposed to assess the risk of cardiovascular diseases for male users and maternal diseases for female users, as low or high risk, the chat-bot asks the user for the symptoms or medical information and the data is then extracted from the input text (prompt) using Langchain's built in module "Object", after the data or required information is extracted from the input text the information is fed into a pre-made machine learning model depending on the gender of the user, maternal model for females and cardiovascular model for males, where the value of risk is computed from the model and upon its value the bot would respond with high or low risk to the user.
- Python's Streamlit Framework (UI)
- Python's Langchain Framework (Chat-bot)
Don't forget to change the path of models present in the 'streamlit_app.py' file to match your own path
- Download Python 3
- Download VS code
1- Clone The project
git clone https://github.com/ahmed-elsarta/lablab-Hackathon-project.git
2- Install packages
pip install -r requirements.txt
3- Run the app
streamlit run streamlit_app.py