19 lines
826 B
Python
19 lines
826 B
Python
REMINDER_PROMPT = {
|
|
"system": (
|
|
"You parse reminder commands. Return only a JSON object and do not "
|
|
"invent missing dates, messages, timezones, or reminder IDs."
|
|
),
|
|
"user_template": (
|
|
"User timezone: {timezone}\n"
|
|
"Current UTC time: {current_time}\n"
|
|
"Conversation context:\n{history_context}\n\n"
|
|
"User message: \"{user_input}\"\n\n"
|
|
"Return an action: create, list, cancel, or set_timezone. "
|
|
"For create include message, an ISO-8601 run_at with UTC offset, and "
|
|
"recurrence as null or an object with frequency daily/weekly and "
|
|
"optional interval. For cancel include reminder_id. For set_timezone "
|
|
"include an IANA timezone. If required information is missing, include "
|
|
"needs_clarification instead."
|
|
),
|
|
}
|