This is a Medical AI advisor app - backend API using worker, built solely for cloudflare's AI hackthon.
Client Repo for setup - https://github.com/sbbeez/cloudflare-hackathon.git
To run this project you must also run https://github.com/sanjaysekaren/summarize-dataSources-ai-models.git as it has all the code related to API.
Steps to set up the repo:
- Clone the repo
- Set your own Env variables in .dev.vars file: ACCESS_KEY_ID , SECRET_ACCESS_KEY, ACCOUNT_ID ,
- Install the necessary packages by running yarn install or yarn add
- Create a R2 bucket (it is also s3 compatible) in your cloudflare dashboard with name 'cf-hackathon-ai'
- Create a vectorized index with name "cf-hackathon"
- Run cd summarize-dataSources-ai-models.
- Install and login with wrangler to access our dashboard.
- Run npx wrangler dev to run the application.
You should be able to run the application in the displayed port.
Happy Coding !!