Prompt ChatGPT in Gladys scenes?

Have an action type “ChatGPT prompt” in scenes where you could ask ChatGPT something and receive it via Telegram (or other)

Example of use (I think there

Isn’t that already possible using the ‹ send a message › action?

I don’t really see how?

There might be a possibility to do it with the action « Make an HTTP request » using the ChatGPT API, then send the result to Telegram with the action « Send a message », but I think the APIs are only accessible with ChatGPT Plus which costs $20/month.

The idea would be to use the Gladys+ ChatGPT integration without having to pay for ChatGPT Plus again (I prefer subscribing to Gladys Plus rather than ChatGPT Plus :slight_smile:)
And that would also make this kind of setup accessible to everyone via scenes (No need to know how to handle APIs)

It’s possible indirectly via a « confirmation » of messages, like in scenes, you send yourself a message at a specific time:

« Would you like a recipe recommendation with seasonal vegetables to make today? »

If you answer « Yes » via Telegram, then it will reply with a recipe! (tested just now)

2 Likes

And the advantage is that you can follow up in the conversation since it’s ChatGPT on the other end, so if you don’t like the recipe you can ask for variations; the conversation history is taken into account:

2 Likes

Cool, I hadn’t thought of doing it like that at all, it does work well indeed, thanks :slight_smile:
I would have liked to avoid replying « Yes » via Telegram to get the answer, but it’s already pretty good as it is.

1 Like