Extract Events Details
This recipe demonstrates how to use the outlines
library to extract structured event details from a text message.
We will extract the title, location, and start date and time from messages like the following:
Hello Kitty, my grandmother will be here, I think it's better to postpone
our appointment to review math lessons to next Monday at 2pm at the same
place, 3 avenue des tanneurs, one hour will be enough see you 😘
Let see how to extract the event details from the message with the MLX library dedicated to Apple Silicon processor (M series).
The output will be:
and the extracted event information will be:
To find out more about this use case, we recommend the project developped by Joseph Rudoler the ICS Generator