Current location: Homepage > java > GenAI Essentials – Full Course for Beginners - Ep98

GenAI Essentials – Full Course for Beginners - Ep98

2025-07-11 11:50:23 [rust] Source: MetaScripta
to go ahead andconnect to this machine and edureka ai courseit's just aWindows machine that has a lunar Lakeum that has a lunar L uh processor in itso it's as good as probably like my RTX3060 that's sitting beside me actuallyif not better uh here you can see thatthe keyboard or the mouse that I haveinstalled is the razor one but the ideahere is that I want to go ahead and uhnavigate to llama index so we'll goahead here I'm going to type in llamaindex and we'll go over tohere um and I just want to get startedwith it oh this is llama index I meantto say llama fileokayand so apparently we can just downloadit this one inparticular is set up for Mac it lookslike is this only for window or for Maclet's see do we have Windowshere if you're on Windows rename thefile by adding aexe okay so it should beas simple as that this one says this isllama1.57 billion for parameter I want todownload something that isum a little bit uh more modern so likellama 3.23 billion so I'm going to goahead and see if I can downloadthat and from here there should be somekind of download oh okay so we'll hitdownload here and so now we aredownloading the Llamafile and while that is downloading I'mgoing to go back and take a look at theinstructions so if you're on Windowsrename the file by adding exe to the endand it's as simple as that if we're on aMac then you do trod and technically wehave uh Windows subsystem Linux installthis machine so we could do it the Linuxway but we'll do it the windows way asyou know you should be comfortableeither or with Linux or Windows um butwe'll give that a moment to downloadokay and I mean we can try to execute itboth on uh windows and uh Linux here butwe'll just focus on Windows here in theshort term so now this file should bedone should bedone okay great and so I want to findwhere that file is I'm going to go to mydownloads just give me a moment here andso I'm going to rename this as itsuggested to have Exe on the endexe yes we'll change it so it has it andnow it's suggesting us to run it thatway so I'm going to open up terminal onWindows 11 and this is on in mydownloads so we'll go into my downloadshere not my documents mydownloads and we have the name here soit's usually this way when we're on uhbacklash so for Slash and so we'll goahead and hit enter and see if thatexecutes so it's launching up that'spretty cool okay cool it's kind of likean Olam experience very similar to theOlam experience to be honest hello howareyou okay that's pretty good we also haveit uh being served on a very specific umport on Port 880 I like how it's tellingus exactly um well I don't know this isAOL Lake this is a lunar lake so it'sinteresting that it's calling AOL Lake sunless that's another name for lunarLake another interesting thing is youcan see the model it's a ggf we'llprobably talk about ggf files in anothervideo but but down below here I imaginewe can interact with itprogrammatically so it is running herebut if we open this up we cansee yeah we could specify the URLendpoint uh for it so that's kind ofcool or we could use Curl but now thatwe got it working in Windows I'd beinteresting to try in in uh Linux asthat's probably a more common use casehere I'm not sure how we exited I justdid command or control C multiple timesso I'm going to go over here I'm goingto just take off that .exe on the end ofit if I'm allowed to I'm not sure how Iwould do that um I'm not seeingextensions here so maybe that'ssomething I can fix in my settingswherever that is so I want tosee allextensions I don't want to hide anytypes there we go so now I can go aheadand rename this and take off thedotexe yep we're going to just change itback into a binary I'm going to open upvs code which should have um WSLaccessible here which we did in aseparatevideo which video I cannot tell you butit's somewhere here we're going to dropthis down we're going to make our wayover to WSL we'll give it a moment heretoopen great so there should be a way thatwe can access it here because it lookslike it is going based on local here sowe go back a couple steps here do wehave downloads in here we do excellentand so I'm going to go ahead and um dolsph la so we're looking at to see ifit's executable it looks like it is I'mnot 100% certain but if it's not we'regoing to chamod it do U plus X that'sthe usual thing that we do for that andI mean it looks the same to me so Ithink that it's executable now I thinkwe just do this verysimilarly likethat okay and so again similarexperience we can talk to it there Idon't want to talk to it there what Iactually want to do is um write somecode here I think I showed this old LamaStu before I didn't figure out a way touh get this accessible another way stillI'm going to open up another uh UbuntuWSL here I'm just going to CD back hereI'm going to make a new directory thisis going to be called I like how Ispelled o Lama wrong previous as wellthis is going to be llama fileBasics and I'm just going to go here andI want to interact with that endpoint souh we'll go back back over to this andwe have a curl but I'm more interestedin the python code so we'll go grab thisone here we are usingum uh llama so I'm not sure like wellhold on this is llamaCCP Port 80 if you're already uhsoftware development opening I pythonpackage then you should be able to do itokay that's interesting so it works withthe

(Editor: php)

Recommended articles
Hot reading