Files
Lamont/modules/reminders/prompts.py
Chelsea Lee fbdf33e894
Some checks failed
CI / test (push) Has been cancelled
CI / compose-smoke (push) Has been cancelled
Build reusable bot framework
2026-07-19 21:53:24 -05:00

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."
),
}