Hi, I’m looking to format a natural language meeting request into a format that I can later connect using API for an assistant use case.
My initial approach was to build a format for the model to rephrase the text.
The format might be:
| Date | Time | Location | Subject | Participants | Reminder |
Example:
Set a meeting with David about our new job on Monday, May 22nd, we’ll have the meeting in our garden. Remind me one hour before the meeting.
Format:
| 22/05/2021 | null | Our garden | New job | Me, David | 60 minutes |
The prompt includes the instructions, and if If the user didn’t provide the information, type in “null.”
The basics of it are working using Curie and Curie-instruct-beta, but I’m having trouble mostly with the null object. In many cases, it fails to provide “null” for information that wasn’t provided. Instead, it just does not include this box or mixing it in other boxes where information was included.
I tried adding more and more instructions and examples, but I haven’t got it to reach a solid level, so I wonder if there is another approach to make it work.
Another problem is if the date is a day (Next Sunday/Today/Tomorrow…) and that the reminder time might come in minutes, hours, or days.
I will appreciate any best practices of making this task as single-valued as possible without building a massive fine-tuning file just for it.