Improving notifications with GetAI

I have a notification that goes off each day to let me kids know what they have on at school, and this has been done with a bunch of schedule helpers and a Jinja template to generate a static message.

I decided to have some fun and see if I could use GenAI (via an Ollama server running on my NUC).

I’ve done a write up that can be found here, but it means that the notifications has gone from:

There are no special activities at school today.

To:

Good morning ! It’s time to get ready for another exciting day ahead. School starts just like any other day with learning, playing, and making new memories. Remember, even without special activities, every day brings opportunities to discover something amazing. Have a fantastic day at school, buddy!

I need to tweak the message that is sent to the SLM I run (Phi3-mini on Ollama) as it likes to throw in hashtags and emojis, which are really funny in the TTS engine, but it gives me a laugh each morning and the kids find it funny too.

1 Like

I admire your inventiveness, but must say that as a grumpy old cuss, I would probably throw something if I was told anything like that in the morning…

(The kids have left home, and are producing the next generation, so maybe the time will come…)