Table of Contents
MediDoc AI is an AI-Powered Intelligent Medical Document Query Tool that aims to help employees in the healthcare industry go through large number of medical documents with ease using queries. This project is made to solve a problem statement provided by the greataihackathon and is made by SkyFoo and iZ86.
Need npm version (>= 18.x)
npm install npm@latest -gAWS Account with Cognito, Bedrock, Amplify, S3, AppSync and DynamoDB features. However, you can run the program without an AWS Account, but it will not be functional. For example, you can only view the website and navigate through it, without the features of chatting, account creation, etc. To do this, you need to use the noAmplify branch.
- The user needs to have the appropriate AmplifyBackendDeployFullAccess.
- The role used to deploy the AWS Amplify needs to have the appropriate S3, CloudFormation, IAM, and Lambda permissions.
-
Clone the repo (Change to noAmplify branch if you do not have an AWS account.)
git clone https://github.com/skyfoojs/greataihackathon
-
Install the NPM packages
npm install
-
Create environment file (Skip this step if you do not have an AWS account.)
touch .env
Contents of .env is:
AGENT_ID=your_agent_id_here AGENT_ALIAS_ID=your_agent_alias_id_here REGION=us-east-1 GUARDRAIL_ID=your_guardrail_id_here GUARDRAIL_VERSION=your_guardrail_version_here MODEL_ID=your_model_id_here MODEL_ARN=your_model_arn_here KNOWLEDGE_BASE_ID=your_knowledge_base_id_here DATA_SOURCE_ID=your_data_source_id_here ACCESS_KEY_ID=your_access_key_here SECRET_ACCESS_KEY=your_secret_access_key_here
-
Start the AWS Amplify Sandbox (Skip this step if you do not have an AWS account.)
npx ampx sandbox
-
Run the program
npm run dev
The video demo on how the system works can be found here.
Distributed under the MIT License. See LICENSE.txt for more information.
- GreatAIHackathon - hackathon that provided the opportunity to utilize AWS services for this project to be created.
