The demo application is a Node.js and React.js system to visualize the Google Cloud Healthcare Natural Language API. You can upload your own sample medical text to visualize the output such as medical dictionaries, entity extraction and relationships, context assessment and more. We have also provided sample texts for a a medical record, research paper and lab form.
- A GCP Project with billing and the Healthcare NLP API enabled.
- Complete the Healthcare NLP How-to Guide.
- Familiarity with Google Cloud Functions and Vue.js.
The HTTP Cloud Function can be found in the /visualizer
directory. Please note, this code is NOT
meant for production use.
- Download the service account key for your project.
- Deploy the Cloud Function, you can follow the instructions here.
- Copy the endpoint for your Cloud Function.
The Vue.js app is found in the /app
directory.
cd app/
- Paste your Cloud Function endpoint in to the placeholder in index.html.
- Start a local server of your choice and open the application in your browser.