{"id":26369861,"url":"https://github.com/msparihar/medical-chatbot-using-llama2","last_synced_at":"2026-05-08T05:34:37.657Z","repository":{"id":215394530,"uuid":"738826153","full_name":"Msparihar/Medical-Chatbot-using-Llama2","owner":"Msparihar","description":"Turn your health guide into a conversational buddy! This AI chatbot answers questions based on a medical PDF.","archived":false,"fork":false,"pushed_at":"2024-02-03T18:09:22.000Z","size":10834,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-26T15:52:32.102Z","etag":null,"topics":["flask","langchain","llama2","llm","pinecone","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Msparihar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-04T06:12:47.000Z","updated_at":"2024-07-05T14:37:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"3883b800-a8ee-4874-820a-df017656f060","html_url":"https://github.com/Msparihar/Medical-Chatbot-using-Llama2","commit_stats":null,"previous_names":["msparihar/medical-chatbot-using-llama2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Msparihar%2FMedical-Chatbot-using-Llama2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Msparihar%2FMedical-Chatbot-using-Llama2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Msparihar%2FMedical-Chatbot-using-Llama2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Msparihar%2FMedical-Chatbot-using-Llama2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Msparihar","download_url":"https://codeload.github.com/Msparihar/Medical-Chatbot-using-Llama2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243945590,"owners_count":20372897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","langchain","llama2","llm","pinecone","python"],"created_at":"2025-03-16T23:16:59.242Z","updated_at":"2026-05-08T05:34:37.599Z","avatar_url":"https://github.com/Msparihar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Medical Chatbot using Llama2\n\n## Features\n\nThe Medical Chatbot offers the following features:\n\n1. **Chatbot:**\n\n2. **User-friendly Interface:**\n\n3. **Answer questions using user's data**\n\n## Application interface\n\n![image](https://github.com/Msparihar/Medical-Chatbot-using-Llama2/assets/75237981/e81d0b04-3718-45ee-a85d-78abebbbf9fb)\n\n## Techstack Used:\n\n- Python\n- LangChain\n- Flask\n- Meta Llama2\n- Pinecone\n\n## How to run?\n### STEPS:\n\nClone the repository\n\n```bash\ngit clone https://github.com/Msparihar/Medical-Chatbot-using-Llama2.git\n```\n\n### STEP 01- Create a conda environment after opening the repository\n\n```bash\nconda create -n mchatbot python=3.8 -y\n```\n\n```bash\nconda activate mchatbot\n```\n\n### STEP 02- install the requirements\n```bash\npip install -r requirements.txt\n```\n\n\n### Create a `.env` file in the root directory and add your Pinecone credentials as follows:\n\n```ini\nPINECONE_API_KEY = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\nPINECONE_API_ENV = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n```\n\n\n### Download the quantized model from the link provided in the model folder \u0026 keep the model in the model directory:\n\n```ini\n## Download the Llama 2 Model:\n\nllama-2-7b-chat.ggmlv3.q4_0.bin\n\n\n## From the following link:\nhttps://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/tree/main\n```\n\n```bash\n# run the following command\npython store_index.py\n```\n\n```bash\n# Finally run the following command\npython app.py\n```\n\nNow,\n```bash\nopen up localhost:\n```\n\n## Contribution\n\nContributions to the Fire Detection project are welcome! If you'd like to contribute, please follow these steps:\n\n1. Fork the repository on GitHub.\n\n2. Create a new branch from the `main` branch.\n\n3. Make your modifications and enhancements.\n\n4. Test your changes thoroughly.\n\n5. Commit and push your changes to your forked repository.\n\n6. Submit a pull request to the main repository, describing your changes in detail.\n\nPlease ensure your contributions adhere to the project's coding standards and guidelines.\n\n## ## License\n\nThis project is licensed under the [MIT License](LICENSE). Feel free to modify and distribute it according to the terms of the license.\n\n## Contact\n\nIf you have any questions, suggestions, or feedback regarding this project, please contact the project maintainer at manishsparihar2020@gmail.com\n\n\u003chr\u003e\n\nI really appreciate your interest in this project and hope you found this project helpful! Keep Exploring!\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsparihar%2Fmedical-chatbot-using-llama2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsparihar%2Fmedical-chatbot-using-llama2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsparihar%2Fmedical-chatbot-using-llama2/lists"}