{"id":27072878,"url":"https://github.com/praisepaul/medibot","last_synced_at":"2025-04-05T23:34:03.140Z","repository":{"id":285234382,"uuid":"957469602","full_name":"Praisepaul/Medibot","owner":"Praisepaul","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-30T13:27:26.000Z","size":10837,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T14:21:59.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/Praisepaul.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,"publiccode":null,"codemeta":null}},"created_at":"2025-03-30T13:04:43.000Z","updated_at":"2025-03-30T13:27:30.000Z","dependencies_parsed_at":"2025-03-30T14:32:04.262Z","dependency_job_id":null,"html_url":"https://github.com/Praisepaul/Medibot","commit_stats":null,"previous_names":["praisepaul/medibot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praisepaul%2FMedibot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praisepaul%2FMedibot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praisepaul%2FMedibot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praisepaul%2FMedibot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Praisepaul","download_url":"https://codeload.github.com/Praisepaul/Medibot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415820,"owners_count":20935384,"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":[],"created_at":"2025-04-05T23:34:02.647Z","updated_at":"2025-04-05T23:34:03.130Z","avatar_url":"https://github.com/Praisepaul.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# End-to-end-Medical-Chatbot-Generative-AI\n\n\n# How to run?\n### STEPS:\n\nClone the repository\n\n```bash\nProject repo: https://github.com/\n```\n### STEP 01- Create a conda environment after opening the repository\n\n```bash\nconda create -n medibot python=3.10 -y\n```\n\n```bash\nconda activate medibot\n```\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 \u0026 openai credentials as follows:\n\n```ini\nPINECONE_API_KEY = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\nOPENAI_API_KEY = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n```\n\n\n```bash\n# run the following command to store embeddings to pinecone\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\n### Techstack Used:\n\n- Python\n- LangChain\n- Flask\n- GPT\n- Pinecone\n\n\n# AWS-CICD-Deployment-with-Github-Actions\n\n## 1. Login to AWS console.\n\n## 2. Create IAM user for deployment\n\n\t#with specific access\n\n\t1. EC2 access : It is virtual machine\n\n\t2. ECR: Elastic Container registry to save your docker image in aws\n\n\n\t#Description: About the deployment\n\n\t1. Build docker image of the source code\n\n\t2. Push your docker image to ECR\n\n\t3. Launch Your EC2 \n\n\t4. Pull Your image from ECR in EC2\n\n\t5. Lauch your docker image in EC2\n\n\t#Policy:\n\n\t1. AmazonEC2ContainerRegistryFullAccess\n\n\t2. AmazonEC2FullAccess\n\n\t\n## 3. Create ECR repo to store/save docker image\n    - Save the URI: 970547337635.dkr.ecr.ap-south-1.amazonaws.com/medicalchatbot\n\n\t\n## 4. Create EC2 machine (Ubuntu) \n\n## 5. Open EC2 and Install docker in EC2 Machine:\n\t\n\t\n\t#optinal\n\n\tsudo apt-get update -y\n\n\tsudo apt-get upgrade\n\t\n\t#required\n\n\tcurl -fsSL https://get.docker.com -o get-docker.sh\n\n\tsudo sh get-docker.sh\n\n\tsudo usermod -aG docker ubuntu\n\n\tnewgrp docker\n\t\n# 6. Configure EC2 as self-hosted runner:\n    setting\u003eactions\u003erunner\u003enew self hosted runner\u003e choose os\u003e then run command one by one\n\n\n# 7. Setup github secrets:\n\n   - AWS_ACCESS_KEY_ID\n   - AWS_SECRET_ACCESS_KEY\n   - AWS_DEFAULT_REGION\n   - ECR_REPO\n   - PINECONE_API_KEY\n   - OPENAI_API_KEY\n\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraisepaul%2Fmedibot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpraisepaul%2Fmedibot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraisepaul%2Fmedibot/lists"}