20 lines
904 B
XML
20 lines
904 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
<record id="ai_prompt_agenda_today" model="ai.prompt.button">
|
|
<field name="name">What's my agenda for today?</field>
|
|
<field name="prompt">
|
|
Search for my calendar events (model_name: calendar.event) of today. Find the events on which I'm an organizer (field_name: user_id)
|
|
or one of the attendees (field_name: partner_ids). Don't mention model_name or field_name, or any record ids in the response. The
|
|
response should be a list of events with their name, start hour and stop hour and whether I'm an organizer or an attendee.
|
|
</field>
|
|
</record>
|
|
|
|
<record id="ai.ai_systray_action" model="ai.composer">
|
|
<field name="available_prompt_ids" eval="[
|
|
(4, ref('ai_calendar.ai_prompt_agenda_today')),
|
|
]"/>
|
|
</record>
|
|
</data>
|
|
</odoo>
|