How to use GPT to get a JSON response and integrate that in your UiPath automation

Description

In this video, I will explain to you how to configure your GPT API with a System and a Role user and specify a JSON Schema that you want your response to be.

After that, we will use that structured response and extract specific values that we need to transform that response into an Excel file.

** Business Case **
We are receiving notes from various doctors, where they are writing down the patient’s information and their medication in a natural language style.
We need to extract specific information from each of the patient and we need to create an Excel file for further upload to an internal CRM system.

Information that we need is the patient’s name, weigh, height, blood pressure, and medication.

Since our data is unstructured we are using GPT API to extract the information that we need.

Link

Date

2024-03-19

Related UiPath products

Studio