Azure Text Analytics for health (Part II)

Image from https://www.pexels.com/@anntarazevich/
Image from https://www.pexels.com/@anntarazevich/

Following this previous blog on Azure Text Analytics for health, I reimplement the code in Typescript. Honestly, from Python to Typescript is just a few lines of code to rewrite. I have also created a web UI for it using React and antd components.

I have shared the code on github. You need to create an Azure Cognitive Services Text Analytics Service as described in Azure Text Analytics for health, And, the rest should be easy if you are familiar with React.

Once the application run, we get a page like this.


Enter some text in the text area. I entered "Patient needs to take 50 mg of ibuprofen. She does not have high blood pressure." and hit the Analyze button. And got


the application is able to identify things like Dosage, Drug name, and medical condition.

This is cool because Azure Text Analytics has a vertical product for healthcare. I am hoping more verticals will come soon.


Comments

Popular posts from this blog

Happy New Year, 2024 from DALL-E

Bing Search as tool for OpenAI

OpenAI: Functions Feature in 2023-07-01-preview API version