Hey Frodeheg,
the error always happens. So far no message has come through although everything is actually always available in the app log. Thank you in any case for the input i will try it with the partial version
I’m really curious to see what else can be realized with chatgpt api
I don’t understand this question, this doesn’t seem related to OpenAI at all, did you post this message in the wrong forum?
@Amersfoort:
The method I used by sending emails that are processed by a script that forwards it to the webhook is not the most intuitive way of doing it, but it works, If you find a better way to do it then please go ahead. What I did is not a solution that works for everyone as it require you to have access to an email-server that can forward the incoming emails to a script. Now, I use “this service”, which is insanely cheap, if you’re interested. Alternatively, if you make a donation to my github account I can probably create an email-address for you on my server that forwards it to your homey if you don’t want to have a domain of your own, but in general I’m not very happy with this solution as I’m sure there are better ways to do this, I’m just not aware of them at the moment.
For all I know the service at https://ifttt.com/ may be able to send a text string directly from google assistant to a webhook without going through the email. You can see if that free service is sufficient to do the job, I don’t know.
I created a contact in my address-book called “The Oracle” which had an email-address I created on my mail-server. Then I talked to Google Assistant (on the phone, as google nest devices can’t send emails) and said the phrase “Send e-mail to The Oracle”. Google assistant will now ask you to list the content of that email. You can then say the content and say send when Google assistant has confirmed that it understood what you said correctly.
This is where you need to configure the mail server to forward all emails to the webhook that is noted in the OpenAi app. If you get the onnet.no service mentioned above I can help you configure it, but if you have another email service then I am sorry that I cannot help you as I don’t know to configure other services that way.
I have been looking for a while for a way to have an interactive conversation with ChatGPT via a smart speaker. So not on a smartphone, but preferably via the Homey. And so not 1 question, but a conversation with multiple interactions. I now have the Google Nest smart speakers, but am willing to buy another one if that helps. Is this even possible (speech-to-text etc?) and is there a general description of how you could do that (apps, example flows etc)? Any help is welcome!
The conversation you have with the OpenAI app is stored and included in the next query so the context is not lost for the next query…
The context is reset when it takes more than 10 minutes (or so… I don’t remember the exact value), so as long as you ask within that time window you should be able to continue the conversation.
Now, for the speech-to-text part, this is how I do it:
Hi! I know it’s been a while since this post, but only now found it. Great work! I’ve set up something similar based on your approach, and it works, but not necessarily via the OpenAI app here - I’ve resorted to using a HomeyScript that requests the OpenAI APK, specifically via the 3.5-1106-turbo model (since I indeed needed the large prompt space, which is not in the 3.5-turbo in the OpenAI Homey-App as far as I understand). Do you have any cool ideas on minimizing promps? I’ve tried some ‘replacement’ methods (i.e. telling openAI that I replaced words A B C with letters X Y Z), but with very limited success. Even with the large prompt, it’s only like 1cent per 3-5 questions, but still.
Hi all, I have this app working fine since november last year. Now Homey suddenly stopped talking since jan 9. I thought I was out of credits, but that was not the case:
“Request failed with status code 404”
Is there something wrong or changed with the app / api? Or do I need to change some settings to get it working again?
Ah, thanks, that is good info. I never used the completionbot myself which is probably why I haven’t seen this issue myself. The completionBot was contributed by @tokreutz.
I’ll try it out and see if I can reproduce it once I get my new homey. (the old one died over a week ago and I have been waiting for a replacement, it’s expected to arrive within a few days)
There are a few updates on the dropdown for model selection for the bots that needs to be updated to be more up to date and allow latest OpenAI advancements like the gtp-4-turbo-preview model.
I’ll see if I can have a look at that soon™.