keep these tutorials going, really helpful and enjoyable to watch!
@codetothemoon2 жыл бұрын
Thanks will do, glad you found it useful and entertaining!
@nicolaszulaica62012 жыл бұрын
This video is outstanding ! Easy to understand, super interesting and fun to watch !
@codetothemoon2 жыл бұрын
Thank you, your description is precisely the goal I was shooting for when I made it. Glad you found it valuable!
@davidmaynard2508 Жыл бұрын
Wonderful. Very instructive on a whole lot of levels. Thank you!
@codetothemoon Жыл бұрын
Thanks, glad you found it valuable!
@anotidaisheneilmisi9042 жыл бұрын
😂😂😂 LOL, that was hilarious. OpenAI loves Rust now
@codetothemoon2 жыл бұрын
Thanks Anotidaishe, glad you liked it! Wasn't sure if folks would appreciate the humor ;)
@jacksmye4092 Жыл бұрын
This channel is insane! Thank you for what you are doing!!!
@codetothemoon Жыл бұрын
Thanks for watching Jack! more to come!
@boi64pr602 жыл бұрын
Loved it, Haha. Got me a smile.
@codetothemoon2 жыл бұрын
Nice, that's what I was going for!
@icelk2 жыл бұрын
Regarding printing a newline, you can omit the quotes: `println!()` will print an empty line.
@codetothemoon2 жыл бұрын
ahh nice thanks for the tip!!
@protocode_2272 жыл бұрын
Wonderful 😌 Great vid, ty! 🙋🏻♂️
@codetothemoon2 жыл бұрын
Thank you and thanks for watching!
@Cryptopunkstar2 жыл бұрын
Wow ! Thank you for example AI integrate with Rust ! Hey !
@codetothemoon2 жыл бұрын
Glad you enjoyed it, thanks for watching!
@david-cn1xv2 жыл бұрын
I want to sign up for the beta but I am put off by the strict limitations of approved apps in their use case guidelines. This technology is so powerful so I understand why they might want to limit certain areas, but to draw limitations and cut off millions of potential developers/users because their use case could possibly not be human monitored is interesting. At least they could reject certain requests in the backend rather than cut off an entire audience of users due to a supposed guideline. But Elon Musk is one of the founders, and his ego definitely wants to make Open AI his own formulated mission. GPT-3 (or something very similar) needs to be fully open sourced.
@codetothemoon2 жыл бұрын
Yeah the restrictions take a bit of the fun out of it, but its still fun to play with even if you're just using the built in playground environment. I hope to see a comparable project open sourced as well!
@dieSpinnt Жыл бұрын
Yeah, let us include "Uber-Clippy", the endboss into our product. What could possibly go wrong? Jokes beside, thank you for the video and the in-depth explanation, CttM:)
@murugarajuperumalla55082 жыл бұрын
Super duper awesome ❤️
@codetothemoon2 жыл бұрын
Thanks, glad you liked it!
@irlshrek2 жыл бұрын
Hahahahah so funny. Love this channel and love the rust content!!
@codetothemoon2 жыл бұрын
🙃 Thanks Eran!!
@billeterk2 жыл бұрын
Lovely!
@codetothemoon2 жыл бұрын
Thanks Karl!
@masiarek2 жыл бұрын
Wow. Thank you
@codetothemoon2 жыл бұрын
Thanks for watching!
@jeffg46862 жыл бұрын
Thanks for sharing. GPT-3 is really crazy. Almost as cool as the image gen stuff. Does this allow the opposite - interpreting text or speech to determine if someone likely answered a question correctly (I would see that as huge in gaming). Like, you configure - we're looking for certain words in answer. If they get at least "x" of those, then they answered correctly. I'm thinking in terms of VR where player makes some decisions or actions in game based on speech - regardless of whether the speech to text is a local transformation or part of the service.
@codetothemoon2 жыл бұрын
I agree, it's pretty impressive! I think GPT-3 is quite capable of what you're saying - you can give it instructions on how to answer in plain language. For example your input could simply be "The question is x. the user's answer was y. The real answer is z. Did they answer the question correctly?" and GPT-3 should spit out a simple "yes" or "no" response. It might require a bit of tuning in terms of how close the user's answer needs to be to be considered correct, but it's definitely something GPT-3 is capable of.
@jeffg46862 жыл бұрын
@@codetothemoon - Thanks, I was thinking about it later, and determined that all I would really need is speech to text capabilities, then interpret the text for context and words, but GPT-3 would still be very useful for tons of stuff - really haven't thought of all the possibilities, but I know people will come up with amazing games using gpt-3. Rust has a wrapper for "deepspeech" library, deepspeech-rs, which is perfect.
@juanmacias59222 жыл бұрын
Which text to speech program did you use?
@codetothemoon2 жыл бұрын
Amazon Polly
@S0L4RW4V3 Жыл бұрын
Im a very green rustacean, and only dabbled in Conversational ai via rasa about 3 years back... My follow up uestion to this video is how could one implement fully localized version of this chatbot? Circumventing the need to be online
@robrita2 жыл бұрын
where did you make your thumbnail? really cool!! 🔥🔥🔥
@codetothemoon2 жыл бұрын
Thanks! I actually make all of my thumbnails with Adobe Illustrator, and I source many of the graphics from flaticon.com. In this particular one, the chip with the brain on it is from flaticon.com.
@bubblekill23112 жыл бұрын
awsom
@codetothemoon2 жыл бұрын
Thanks for watching!
@Mr.Legend_92 жыл бұрын
It a good boy for advertising rest
@codetothemoon2 жыл бұрын
Thanks for watching, I strive to be a good boy
@atrocitus77710 ай бұрын
is this on github anywhere?
@robertodelgado1234 Жыл бұрын
Thanks for the great tutorial. Any chance we could get the GH repo for this? I'm getting a bunch of errors and would like to match my code with yours.
@codetothemoon Жыл бұрын
Thanks! The code is available here github.com/Me163/youtube/tree/main/RustOpenAI
@stevenhe34622 жыл бұрын
Why are you not using `rust-analyzer`?
@codetothemoon2 жыл бұрын
At first glance I thought it's functionality also existed in the "Rust" extension, but I didn't investigate too deeply. What set of VSCode extensions would you recommend for Rust development?
@chrismeys47912 жыл бұрын
How does GPT-3 understand what humor is?
@codetothemoon2 жыл бұрын
Great question - i haven't actually read the whitepaper, but my guess is that the concept of "attractiveness" and examples of humor both exist in the training data. I believe some flavor of deep neural network is trained on this data, so it can then infer appropriate responses to a prompt based on what it saw in the training data (even if that specific prompt didn't exist in the training data).
@chrismeys47912 жыл бұрын
@@codetothemoon Wow! Thanks for your answer 👍.
@eparch2144 Жыл бұрын
Couldn't you have just asked OpenAI to write all that code for you? lol
@codetothemoon Жыл бұрын
lol possibly! This video was made in the GPT-3 era, and I wasn't fully aware of what it was capable of...
@NakedSageAstrology2 жыл бұрын
Completely generated by the A.I without influence,.. oh by the way I hardcoded it to be biased.
@codetothemoon2 жыл бұрын
Yep the responses are generated by gpt3 based on the users input and a static hardcoded string appended to that input. I said the responses weren’t pre-generated, not that they weren’t influenced by the input (all AI is and must be)
@NakedSageAstrology2 жыл бұрын
@@codetothemoon Not all A.I. relies on input, just wait for July 6th.
@schubertbach396110 ай бұрын
I copy and paste the rustopenai code in my linux terminal, I run it , and I got this message !! thread main packinked at src/main.rs:42:51 called Result::unwrap() on an `Err` value: NotPresent note: run with `RUST_BACKTRACE=1` enviroment varialble to display a backtrace can you help please