So I am creating a bot to act as a nightlife promoter that will make guests aware of events happening and engage with them, however this would involve creating a response based on a time trigger not on a user interaction.
Is this even possible with Gemini currently?
1 Like
Hi @NickVenzi, Welcome to forum!!!
I think the answer is No. It responds to user input and doesn’t have built-in mechanism to respond at specific time.
You need to integrate it with other tools i guess like cloud functions (trigger based invocation) and cloud scheduler (for timely trigger) etc.
Thanks.
1 Like
Yup, we have cloud functions connected but i am not sure how to trigger it to create an output for example:
Lets say its the users birthday and we want gemini to send a birthday message via text message.
How would you accomplish this without the user asking gemini to wish them a happy bday lol
Hey @NickVenzi,
You can explore other ways but here is one approach :
You can securely store user’s birthdays and phone numbers in Firestore DB to ensure. Every day, Cloud Scheduler triggers a program that checks the database for birthdays. For each person celebrating, the system generates a personalized birthday message using Gemini. The message is then sent (may be via Twilio, a text messaging service) to the user’s phone.
Thanks.
Hmm ok so are you suggesting a different gemini model than the chat bot? The chat bot has all of the context, like a description of its personality and the users birthday etc. But like you said, it can only respond to a query from the party guests via text. So how do i explain to it to send a birthday message without the party guests asking it? The technical side I understand. Its more with the gemini model and how to invoke it I am confused on.
So your solution would be to use a different gemini model that would take an input query from the system (not the guest) but it would need to be a different gemini model context. Is that correct?