Email Extraction
In this example, we imagine we are a hotel that receives E-Mails from new customers who want to book a room. We want to extract the following information:
Name of the guest (first and last name)
Room preferences (Things like the guests preferred room location, room size, bed type etc.)
Reservation number (Unique number that identifies this reservation)
Stay details (Start date and end date of the stay)
Emails from guests could look the following way:
We first construct a corresponding Shape to extract those fields:
With the shape defined, we call the /extract-document
endpoint with this shape and the table as the payload:
After some time, we query for the result of this job with the job endpoint and find the following in the result
field:
Last updated