Current location: Current location: Home > php > GenAI Essentials – Full Course for Beginners - Ep205 Text
GenAI Essentials – Full Course for Beginners - Ep205
[php] Time: 2025-07-11 11:39:48 Source: MetaScripta Author: cpp Click: 113 times
this a little bithere um let just give me a second okayokay here it's suggesting I need to dopo reinstall I mean we already did itbut let's do ai ethics debateit again Iguess oh maybe because we resolved thelock file that it actually neverinstalled anything okay that's probablywhathappened I see so now we're actuallyinstalling things for real and thislooks a lot like Ruby this is totally arubyexperience all right so that's nowinstalled let's go take a look and seeif we can get thisrunning and it's going out to I assumechatgbt what do we have sofar so the objective of thegame okay so we have the agent you willcreate the task so we have the task okaythat makes sense we'll go downbelow I assume what it's doing is it'sjust working so we'll just wait there wego so cameback with the code so now we're gettingcodeback final answer okay so now it'sproduced the final answer forus so now it's going through thesoftware quality control engineer thisis really interesting because um this isnot out yet but but in the boot camp wewe code something and we're notnecessarily using an agent but we areusing um we're reading this by hand andI like how this process is very similarso that's really interesting so now wehave the software quality controlengineer it looks like it's producingits own codeokay and then we have the third agentrunningokaycool and so here's the result okay sonow we can go ahead here final code forthe game I can assume that this worksbecause otherwise how would it not if umit have it as an example we'll go aheadand copy that and I'm going to make thenew game here let besnakeP go ahead and paste itin and so now we have our game here I'mnot sure what this utilizes uses Pi gameum I'm not sure if I can run thison my on thisenvironment cuz I think this has a UIright so I'm not sure if I couldactually run it here I I'll try but I'mnot I don't think it will work here umso we'll dopython python um snake.py well do pip install Pgame pip install P game my typing get alittle bit off my office is really coldbecause it's winter right now um butwe'll go ahead and try this I reallydon't expect this to workhere yeah because this would only workon a local machine so what I'll do isI'll download thisfile this looks successful so I'm goingto go ahead and copy what I canhere so go ahead here and just saysave um but what I want to do is I wantto open up visual studio code locallyhere we go and I'm just going to load inthis single file here so I'm in the GenEssentials here this actually is thesame cor so I could just pullit okay so we're just pulling the latestcode and now I'm in my local developerenvironmentobviously um and then I'm going to CDinto crewAi and into the game crewBuilder and I'm going to do I'm going todo pipinstall P game because I think that'sthe only thing we need to run thisokay and so that's going toinstall and now what I'm going to do isgo ahead and run this we'll say umpythonsnake.um no it's just python maybe Python 3st.and so what I'm expecting is it tolaunch some kind ofinterface but right now we are in uh WSLso that might notwork now that I'm thinking about it I'mnot sure how would that how would thatwork here it wouldn't so it is runningbut I don't think it has any way for usto see it so actually I'm going to haveto go over to um terminal here now I'mon WindowsWindows I have command prompt on thismachinehere uh do I have pythoninstalled okay so we'll type exit and umI'm going to CD into this directory hereand then we're going to go into JEssentials and then we're going to gointo crewAI if you can't get this to run it'stotally fine like it's a lot of work todo this if you're on a Mac this would bea lot easier obviously but um I'm goingto go ahead here and let's dodi um so I'm going to do python or we'lldo pip install pip install P game sowe'll install it now now it's installingon my windows side of my machine notwithin WSL because this needs a way oflaunching and it needs some kind ofinterface that Taps into the uh Windowsum API this should work on Mac by theway if you're on a Mac on on Linux Ihave no idea um so we'll go ahead andwe'll run this so we'll say uhpython uhsnakey so now it should open up andthere we go so we have ourgame and itworks coolCo all right I'm sure you don't want towatch me play this all day but let's goback to the source code in the browserhere andso we saw that there were two differentones here we had in theinstructions um not instructions but inour code examplewe have one that's train and there's onethat'srun so notice that this one says trainand so this allows it to go throughmultiple iterations and um I can'tremember the term for it what's itcalled it's a reinforcement learningthis is reinforcement learning and sothat's really interesting to me that wecan go through that and so I guess theidea is that it would continuouslyproduce the code that produces the bestoutcome um and so I mean we're not goingto run that here to day cuz I don't wantto use up a bunch of my um compute or mysorry my API credits because I'm notsure how much it would utilize but thisis just one example and so we areobviously looking at the uh codingexample for a game but you could applythis to anything and yeah it's just thatit gives you the boilerplate code to doit and so this is something that's superpowerful and really awesome um I don'tknow why I don't use it more be becauseI know about it but uh anyway there yougo and so we will see you in the nextone okay ciao
(Editor in charge: javascript)
Solana Developer Bootcamp 2024 - Learn Blockchain and Full Stack Web3 Development - Projects 1-9 - Ep39Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep51
Related content
- Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep203
- Artificial Intelligence Full Course 2024 _ AI Tutorial For Beginners _ AI Full Course_ Intellipaat - Ep84
- Artificial Intelligence Full Course 2024 _ AI Tutorial For Beginners _ AI Full Course_ Intellipaat - Ep56
- [Hindi (auto-generated)] Machine Learning FULL Course with Practical (10 HOURS) _ Learn Free ML in 2025 _ Part-1 - Ep116
- GenAI Essentials – Full Course for Beginners - Ep146
- [Hindi (auto-generated)] 2025's Most Important Career Podcast - AI Skills For All Ages _ Masters' Union Dr. Nandini Seth - Ep4
- How to use ChatGPT in 2025 _ ChatGPT Tutorial _ ChatGPT Full Course - Ep72
- ROSÉ_ The rosie Interview _ Apple Music - Ep5
- XRP Ripple LIVE Senate Brad Garlinghouse - FROM WALL STREET TO WEB3 - Martyn Lucas Investor - Ep23
- Artificial Intelligence Full Course 2024 _ AI Tutorial For Beginners _ AI Full Course_ Intellipaat - Ep97
- Artificial Intelligence Full Course 2024 _ AI Tutorial For Beginners _ AI Full Course_ Intellipaat [DownSub.com](1).txt - Ep27
- ROSÉ_ The rosie Interview _ Apple Music - Ep4
- Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep114
- How to use ChatGPT in 2025 _ ChatGPT Tutorial _ ChatGPT Full Course - Ep22
Wonderful recommendations
- Harvard CS50’s Artificial Intelligence with Python – Full University Course - Ep8
- How to use ChatGPT in 2025 _ ChatGPT Tutorial _ ChatGPT Full Course - Ep18
- Artificial Intelligence Full Course 2024 _ AI Tutorial For Beginners _ AI Full Course_ Intellipaat [DownSub.com](1).txt - Ep67
- ROSÉ_ The rosie Interview _ Apple Music - Ep4
- Getting started with Web3 in 2025 _ Deep Dive Explainer - Ep7
- Artificial Intelligence Full Course 2024 _ AI Tutorial For Beginners _ AI Full Course_ Intellipaat - Ep72
Popular Clicks