Skip to content

skyfoojs/greataihackathon

Repository files navigation


Logo

MediDoc AI

An AI-Powered Intelligent Medical Document Query Tool!


View Demo

Table of Contents
  1. About The Project
  2. Built With
  3. Architecture Design
  4. Getting Started
  5. Usage
  6. License
  7. Contacts
  8. Acknowledgments

About The Project

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.

(back to top)

Built With

(back to top)

Architecture Design

architecture design

(back to top)

Getting Started

Prerequisites

npm

Need npm version (>= 18.x)

npm install npm@latest -g

AWS Account (Optional)

AWS 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.

Important Setup Steps for AWS Amplify Sandbox (Skip if no AWS Account)

  1. The user needs to have the appropriate AmplifyBackendDeployFullAccess.

Important Setup Steps for AWS Amplify Deployment (Skip if no AWS Account)

  1. The role used to deploy the AWS Amplify needs to have the appropriate S3, CloudFormation, IAM, and Lambda permissions.

(back to top)

Installation

  1. Clone the repo (Change to noAmplify branch if you do not have an AWS account.)

    git clone https://github.com/skyfoojs/greataihackathon
  2. Install the NPM packages

    npm install
  3. 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
  4. Start the AWS Amplify Sandbox (Skip this step if you do not have an AWS account.)

    npx ampx sandbox
  5. Run the program

    npm run dev

(back to top)

Usage

The video demo on how the system works can be found here.

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contacts

SkyFoo - github - linkedin

iZ86 - github - linkedin

(back to top)

Acknowledgments

  • GreatAIHackathon - hackathon that provided the opportunity to utilize AWS services for this project to be created.

(back to top)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages