-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calendar integration #182
Comments
Thank you for your suggestion! The only issue is that there isn't a Calendar API available at the moment, so implementing this will require extra effort to find a workaround. However, I definitely think it's worth exploring. I also think that the idea could be to open the "New Event" dialog pre-populated with data from the AI. It won't be easy, but I'll look into it! |
A bit of information to start with, thanks to the help of @kewisch. This it the method to call to open the new event dialog: https://searchfox.org/comm-central/source/calendar/base/content/item-editing/calendar-item-editing.js#261 The parameters structure is defined in those files in https://searchfox.org/comm-central/source/calendar/base/public , and then there is the mega-module https://searchfox.org/comm-central/source/calendar/base/modules/calUtils.sys.mjs which will give us ways to create most of the things we need. |
I'm currently testing this prompt with variable results with OpenAI and Google Gemini:
Consider {%mail_datetime%} will be implemented in #223. When {%selected_text%} is a specified date and time it works, but if it's something like "Tomorrow at 15:00", it does not work consistently. |
This prompt is working better.
I implemented also #224 for the current date and time placeholder. |
Is your feature request related to a problem? Please describe.
Many emails contain information about to-dos and events. The LLM can easily extract the information to generate events in .ics-format, for example. But let's face it: importing ics files is painful and we can do much better.
Describe the solution you'd like
I would like to link ThunderAI to Thunderbird's Calendar API, e.g. to automatically display the UI for a new calendar event, which is automatically prepopulated with the LLM output. Users would then only need to click save to add the event to a calendar.
I would also love to have an input field in the calendar view to add events to my calendar in a conversational manner.
E.g.: I have a doctor's appointment Wednesday, Nov 27 at 3:15 pm. --> creates calendar event/ Thunderbird calendar dialogue window.
Additional context
General strategic question: Is ThunderAI the right place to integrate this calendar integration? Or is this considered out of scope/ a different domain?
The text was updated successfully, but these errors were encountered: