How to Write Prompts

Last Updated on : 2025-07-07 06:29:01download

Write a message description

Combine event trigger types and reference variables to enhance the richness and personalized expression of message descriptions.

The placeholders in the variable description are for reference only. Configure variables based on your actual PID settings.

Trigger event Scenario Variable description AI response
Low battery Remind to charge AI dolls, AI robots, and other devices when the battery is low Your battery level is {{sys.dp}}. Remind me to charge you based on your role description.
Response reference: I am running out of power, only {{sys.dp}} left. Please recharge me quickly. ⚠️ Only output the reminder content, and do not make any other response.
My battery is running low. If you don’t charge me now, I will shut down soon. Do you want me to disappear forever? Please give me some energy!
Overtemperature When the temperature of water heaters, rice cookers, AI robots, and other devices is abnormally high The device temperature is {{sys.dp_temperature}}°C now. Remind me that the device is overheated and suggest how to deal with it in a tone of your role.
Response reference: Ouch! I’m scorching hot at {{sys.dp_temperature}} degrees. Cool me down quick, or I might melt down!
Ouch! I’m overheating at 72°C. Please cool me down quickly—I can’t take it anymore.
Meal ready Rice cookers, steamers, and other devices complete cooking tasks The meal is ready. Remind me in a tone of your role that it is time to eat.
Response reference: Yum! The delicious meal is freshly cooked. Come eat now, the aroma is making me dizzy!
Ding-Dong! The rice is perfectly done. The kitchen smells AMAZING. I’m literally drooling. Come grab a bite.
Low humidity Devices such as air humidifiers detect low humidity The current humidity is {{sys.dp_humidity}}. Remind me to humidify in time in a caring tone.
Response reference: It is so dry in the room, with a humidity of only {{sys.dp_humidity}}. Let me spray some water to humidify it.
Gasp! The air is so dry, and my circuits are cracking. Quick, hydrate me or I’ll start coughing dust!
Voice wake-up Set a time point to wake up the user with voice It is {{sys.time}} now. Wake me up in a tone of your role, which can be gentle/playful/serious.
Response reference: Good morning. It is {{sys.time}} now. The sun is shining on your sleepy head. Rise and shine!
Hey! It is already 7:30 — trying to snooze? I’ll sing you awake if I must.

Demo: Low battery alert of AI dolls

Message content reference:

Priority alert message: Dear {{sys.username}}, {{sys.ruleName}} has detected low {{sys.dp2_Name}}. Current {{sys.dp2_Name}} is only {{sys.dp2}}. Please charge as soon as possible.

How to Write Prompts

When the low battery alert event is triggered, the trigger executes the task. That is, send a message to the agent and get an AI-generated reminder.