chatGPT on top of Amazon Alexa

That’s nothing @sono_matteo , thank you for your hard work. I had given up on my Google Nest and Echo devices as doing anything with them, besides turning on/off lights, is more time-consuming than helpful.

To continue on my update:

  • I can’t make a routine that detects the words “Open A.I” or “Chat G P T”, as it will make Alexa look into its Skills repository instead of matching with my routine rule
  • A routine to detect the phrase “Open Oracle” works from time to time. It gets it wrong “Open Rocket”
  • A routine to detect “Alexa, Be smart” works from time to time, it also looks for “Bismark”.

Eventually I’ll have to find out what keyword has the highest precision with Alexa. Once the Oracle is on, I find it way easier: Chat GPT is quite robust to a few wrong words, just like a prompt full of typos and swapped letters on chat.openai.com is actually likely to still generate a good output.

And I had a quick idea to avoid your bill going too high without limiting the reach of the skill:

  • Provided your skill receives a unique Alexa identifier
  • Then, could it be possible to:
  • Count the number of requests to your Skill per AlexaID
  • Create a webpage/form/etc where anyone can send you a pair of {alexaID, openaiAPIkey}
  • Set a threshold of skill request per AlexaID, absolute or per given time period, above which your skill would reply "Maximum number of requests reached. Submit your Open AI API key on or activate Oracle Premium at 1.99E/m
  • If the AlexaID is associated with a user-submitted OpenAIkey, then you make your request to OpenAI with the user OpenAI key instead of your personal one.

Hello @jbd thanks for your suggestions about the monetization. I have an update for you about the French skill. Write me here
revolutionary.voice.2020 @ gmail.com
Matteo

1 Like

Hello, is there a way for it to stop saying …would you like me to continue?also yesterday i was getting sorry im having trouble accessing your oracle of light skill a lot although its much better today any ideas?, its a really cool & awesome skill you’ve created, also will chatgpt 4 be available soon on alexa?
Thankyou :slightly_smiling_face:

Hi @mysticoz thanks for reviewing the skill. Unfortunately there is no way to remove “Shall I continue”. I’m placing it purpousely into the skill, not GPT.
Yesterday you had problems as all regular users of chatgpt because there was a problem with OpenAI server. When you have problems you can check the link
OpenAI Status
from OpenAI and subscribe to their info. When you see a red bar, that means congestion. The skill detects it and reports that “there are problems with the site…”. Today it was way better. I have already tried the GPT4 API. They integrate with the current skill with few lines of code. The GPT4 works perfectly! It is so beautiful. Right now I’ll stay with GPT3.5 because of price. I got an idea for a skill that could specifically leverage on the GPT4 capability. I’ll work on it in the next month.

I have finished a first release of the emotional skill. It’s a prototype, nothing exceptional. By the way, something happens. Alexa can change the pitch and rithm of its voice when GPT detect one of the six emotions. I asked Amazon if there is a way to distribute the skill to some testers before certifying it. I’m waiting for a response. The skill logo is this one:


I used DALL E. In the end this skill will be integrated in a more general skill as a personality layer and loaded upon a trigger.

1 Like

Thanks, and I don’t need a French skill now that my device is un-frenched :slight_smile:

Thanks sono, thats great ill check that out if servers get busy, look forward to chatgpt4 both amazing.

1 Like

The German link does not work and I can’t find it in the store.

My friend is in Germany and his language is German…
I live in Austria and my language is German.

In both cases it did not work

:smile: @jbd now that you have gone through all the troubles to ‘americanize’ your device, I have a feeling that the French skill might be able to get through certification. I’ll let you know of any progress. If you have the chance in the next days, write me an email. I want to check with you a sentence in French that could help the French skill.

Actually your comment @mysticoz has trigggered in me a couple of ideas:

  1. Should I add a visual indication on the skill’s GUI that the OpenAI site is experimenting heavy load? I would report QoS (Quality of Service) LOW or MEDIUM or HIGH.

Tell me in this survey here (2 days)

Hello @rolandschuetz , thanks for reviewing the skill. All my skills but the English one have been removed by the Amazon store because they allowed to search for adult or inappropriate content. It is a comment that I can accept, even if I have my filters on top of a moderated chatBot such as chatGPT. When a skill is removed, they remove it also from the store. Nothing remains. So, right now, you can only open the english skill (locale US, Canada, UK; you cannot with Australia and India). I might be able to update the German skill and add more filters, even if they have a side effect with the conversation. If you have time, please write me at revolutionary.voice.2020 @ gmail.com . I need to ask you to check a sentence in German with a real person (not chatGPT) and you could help me. Then I can try to re-submit the skill in German. Regards, Matteo

I have refreshed the Italian skill. It entered certification almost two weeks ago. Results should be available by 3/24/2023, 5:36 PM. (I think here time is in C.E.T.). Something will come up!

Hi @sono_matteo, any plans to recertify spanish skill?

Hello @sono_matteo ,

thanks for the update. Maybe just adding the OpenAI Moderation API could help.
I write you an email.

Cheers,
Roland

Hello Matteo,

Here’s my email. Happy to help, for a few language checks.

Best regards,
Roland

Hi @rolandschuetz thanks for the help. Sorry but I cannot get your email. I see in your post the symbol of the mail but I cannot get the mail…Probably a fault on my side.
Please, if you have time, send me an email at revolutionary.voice.2020 @ gmail.com
I basically send you a sentence in german with a filter, I would appreciate if you give me your opinion. That’s all.
Regards
Matteo

Hi @norberto.soriano , I have a plan. If you have time, please send me an email at revolutionary.voice.2020 @ gmail.com
I’ll send you a sentence in Spanish with a filter, I would appreciate your opinion.
Matteo

The Italian skill has been postponed of another two weeks. I received this news today.

IDEA #1: Emotion - adding a personality
I’m ready to release a second type of skills:

Emotional Shell is an Alexa skill that detects and conveys emotions (joy, sadness, anger, fear, surprise, disgust) to the user in response to their interactions.

Emotional Shell is a prototype application to convey emotions dinamically to the user as a response to user interactions. It connects to a Large Language Model (made by OpenAI) able to perform emotion detection (joy, sadness, anger, fear, surprise, disgust) and renders an emotion though Alexa postprocessing.


User: <<I’m very happy today>>

I added a couple of features: a quality of service of the system, as detected by a new algorithm (different from the ‘Oracle of Light’) and visual feedback of the words where Alexa should change the pitch (highlighted in red now, later I’ll add a color code for each emotion just for debug).
It is available only for english speakers in the following locale: US, Canada, Uk.
I myself cannot use it in my Alexa device, I can use it only in my developer console!

Amazon replied to me telling me that it is possible to invite some beta tester to try my skill. If you want, you can join my skill as first user.
Amazon sent me back to answer my question:
<< Beta testing allow you to share your skill before you release your Alexa skill to production for a limited set of users. Skill Beta Testing for Alexa Skills | Alexa Skills Kit >>
If you are interested, you should provide me with the email that you use for your amazon account for Alexa. Send me an email with it at
revolutionary.voice.2020 @ gmail.com
I will let you know mine, if you need to build trust.

What I see from my alexa console is this:


I think your account would be added there, so that you can use the skill with your account.
Let me know if interested, I can add you to the beta testers. I never tried this mechanism, so there might be some glitches or potentially it could not work.

I can’t wait to use the API to connect to the Instacart plugin!