Hi Simon, you’ve spotted the biggest flaw in the code… basically the AI sends the text ‘answer’ back which then gets converted to speech via the Google text to speech api, it’s returned as an MP3. Once the MP3 starts to play not much else can be done with the Pi, so if the answer is a long one you just have to listen to it waffle on for ages. I didn’t show it in the video, but when I first went into the supermarket I asked for some recipe ideas and it give me a loooong list that took about 5 mins to get through, I’d already forgotten most of the suggestions by the end of the monologue. Putting some limit on the answer length would be essential for for future use (easy to do too, simply preface the user question sent to the openai api with ‘in less than thirty words…’ ! Thanks for watching!
I tried to do what you did some time ago (about 2 months), but without positive results, GPT alternately generated garbage / did not understand the context, whether Java or Python - but maybe the problem is in the language (Polish), or in the version. I was using the publicly available GPT3. If you can add to the description a link to the generated code:) I am not a programmer, the last language I used was Pascal, or Bascom, or something similar;p
Interesting, I mainly used GPT4 and it worked almost perfectly, generating code with few/no errors; however, I did try one file (can't remember which) using GPT3.5 and while it didn't work first time, it was OK after a bit of messing around! I've added the various code snippets and the combined file generated by GPT to GIT hub, I'll put a link in the video description. One word of warning though, generating the code took about 20 mins, installing all the packages and getting things like speakers/microphone to actually work took far longer (and wasn't shown in the video)... might just be because I'm not much of a programmer (most familiar with C for Arduino), or perhaps it's because I'm not a usual linux/mac user! Thanks for watching!
@@thecircuithelperThanks for the link:) P.S. Even earlier, I tried with the help of GPT to optimize the arrangement of capacitors in the binder with a breakdown of voltages and capacitances. I lost half a day trying to explain the difference between a partition, a container, and the whole binder. Different prompts, different chats etc. The best results were obtained by translating queries from Polish to English using DEEPL. Hence my hypothesis about the language (in the sense of nation) you speak.
I didn’t have much luck trying to describe circuits to chatGPT either!! Anything more than a simple resistive divider caused massive confusion. I like how it can generate a spice netlist, but being restricted to text input/output it’ll never be very useful. Once it’s possible to use images it’ll be great!
Hi, would it be possible then to convert this script into an android or ios app? Maybe with some additional features? If you'd plan to do that, i could help with translations into Polish and Italian
You read my mind 🤓 I’ve just spent the weekend looking how to make apps! It’s not something I’ve done before though, looks like a steep learning curve, if I have any luck I will make a video about it! Thanks for watching!
I'm the 500th subscriber! YAY! Cool project. Can't wait to see what else you do with it.
Awesome! Thank you!
Very interesting. I really enjoyed this video. This video really made me want to visit York!!
You should!
Wow that is amazing :) i found you from the holy algorithm! subbed of course!
Awesome! Thank you!
Dude, I subbed for the amazing content and for you being so humble. Hard to find nowadays. Can't wait for more.
Thanks for the sub! I have a few more projects like this in the pipeline! Cheers
me 2
Interesting stuff. I asked an AI to create a research paper for me and it did. I found adding a 'LIMIT
Hi Simon, you’ve spotted the biggest flaw in the code… basically the AI sends the text ‘answer’ back which then gets converted to speech via the Google text to speech api, it’s returned as an MP3. Once the MP3 starts to play not much else can be done with the Pi, so if the answer is a long one you just have to listen to it waffle on for ages. I didn’t show it in the video, but when I first went into the supermarket I asked for some recipe ideas and it give me a loooong list that took about 5 mins to get through, I’d already forgotten most of the suggestions by the end of the monologue. Putting some limit on the answer length would be essential for for future use (easy to do too, simply preface the user question sent to the openai api with ‘in less than thirty words…’ ! Thanks for watching!
@@thecircuithelper Some sort of 'pagination' might be useful. Read 30 words of a summary at a time with option to continue or quit?
Nice ❤
Thanks 🔥
I tried to do what you did some time ago (about 2 months), but without positive results, GPT alternately generated garbage / did not understand the context, whether Java or Python - but maybe the problem is in the language (Polish), or in the version. I was using the publicly available GPT3.
If you can add to the description a link to the generated code:)
I am not a programmer, the last language I used was Pascal, or Bascom, or something similar;p
Interesting, I mainly used GPT4 and it worked almost perfectly, generating code with few/no errors; however, I did try one file (can't remember which) using GPT3.5 and while it didn't work first time, it was OK after a bit of messing around!
I've added the various code snippets and the combined file generated by GPT to GIT hub, I'll put a link in the video description. One word of warning though, generating the code took about 20 mins, installing all the packages and getting things like speakers/microphone to actually work took far longer (and wasn't shown in the video)... might just be because I'm not much of a programmer (most familiar with C for Arduino), or perhaps it's because I'm not a usual linux/mac user!
Thanks for watching!
@@thecircuithelperThanks for the link:)
P.S.
Even earlier, I tried with the help of GPT to optimize the arrangement of capacitors in the binder with a breakdown of voltages and capacitances. I lost half a day trying to explain the difference between a partition, a container, and the whole binder. Different prompts, different chats etc. The best results were obtained by translating queries from Polish to English using DEEPL. Hence my hypothesis about the language (in the sense of nation) you speak.
I didn’t have much luck trying to describe circuits to chatGPT either!! Anything more than a simple resistive divider caused massive confusion. I like how it can generate a spice netlist, but being restricted to text input/output it’ll never be very useful. Once it’s possible to use images it’ll be great!
Hi, would it be possible then to convert this script into an android or ios app? Maybe with some additional features? If you'd plan to do that, i could help with translations into Polish and Italian
You read my mind 🤓 I’ve just spent the weekend looking how to make apps! It’s not something I’ve done before though, looks like a steep learning curve, if I have any luck I will make a video about it! Thanks for watching!
I believe there already are mobile apps that enables you to talk to ChatGPT, but it would be fun/educational to make it yourself of course