GenAI Essentials – Full Course for Beginners - Ep195
Time: 2025-07-11 11:27:32 Source: Codora.ai Author: javascript Reading: 439 times
do is chris langan theoryI'll just docapital T testing 1 two 3 four five sixand I will not do that one on the endthere with the um exclamation markand it looks like we already have a userdown here but we're going to create thisuser anyway and so now we have thisadmin user that we have here then wehave my local environment or Cloudenvironment I'm not really worried aboutthis stuff right now um where would youlike to connect well technically mycloud environment use this to add anetwork IP address to the IP list youcan modify it any time use this toconfigure network access between Atlasand your configured stuff well that'sgoing to be kind of hard because this isnot on my local machineright this is in wherever this thing isand I'm not going to know what the theIP address of this is so I'm not surewhat I'm going to do forthatum I mean down below here it says 0000 Zso it looks like it's already open tothe Internet so I'm going to go aheadand hit finish because I believe thatthis cluster is already open to theinternet I'm not going to have an issuewith it so now we have created ourcluster rightwa you're you're deploying zero threechanges so I think it's still deployingit's not 100% done yet so that is whatwe're waiting on here so I'm going to goback to Atlashere and we have project zero you mayhave created had to create a project Ididn't and we have our cluster and sohere it is spinning up okay so let's goback over to hereand so we have our dataokay and then we see that informationand then it's want going to want to knowourURI so that would be the next thing thatwe provide to it if I click connect it'snot ready yet but in here we should beable to find I think throughdrivers it's still provisioning so Ithink here that's where we're going tosee our connection URL string so we'regoing to wait oh here it is and we'regoing to try that again so I'm going togo hit connect I'm going to go todrivers and then down below here it saysuse connection string your applicationI mean I actually want the real one hereit's saying DB username password so itseems like I have to replace thesemyself which is not a big deal and sowe'll go here and we said that this wasadmin rightadmin and then this one here is capitalT testing 1 2 3 4 5 6 right so that'swhat it should be to get in here I alsokind of remember having to fiddle withthese at one point but I'm not sure ifthat's still an issue so we going to goahead and set that uhURI so the rest here should beattempting to establish a connection tomongodb here it's looking for a veryspecific name it's not my fault that ituses uh if does not allow underscore soI'll change that to hyphens but I thinkthey said that we also had to createsomething else right so if we go over tohere there's something else we have tocreate umfor the mongod to be within the databasecreate a collection called marketreports so that is something else thatwe have to create so we'll go back overto our cluster um let's click intothis and I'm looking for where Icreate that there so we have ourclusterright and I need to make mycollection but the only way I couldthink of doing that is I'd have to toconnect to itliterally unless we're supposed to gohere to add the search and then createit fromhere yeah here's acollection can I add ithere I don't want to do any I just wantto put one in here so again I'm tryingto find a way that I can insert this[Music]let's browse collectionshere so yeah we currently don't have anycollections create the collection Iguess this is what we're doing right nowthen create the vector search index soI'm just going to ignore this and maybethrough this we actually are doing itthrough these steps so yeah here we'regoing to establish a connection let's goahead and trythat yeah here it says get database andget Conn get connection so it establisha connectiondid it get the collection cuz I didn'tmakeone here it will delete any data if italready exists I mean if it just worksit'll insert it so we'll go ahead hereand just say insert into the collectionit says it inserted it so maybe itcreated The Collection indirectly let'sgo give this a hard refresh let'ssee there it is okay great so we didn'thave to do anything there it justcreated ourselves obviously we had to uhmake a a name change there but that'swhat I thought so we'll go down belowand here now it's talking about themongodb query language and Vectorsearch okayso we can go ahead here and pressthis okay and then they're talking aboutthe coh hereranker so the idea here is that you'requerying we haven't ran anything yetwe're just defining functions right nowbut the idea is that we are queringsomething it's going to return it backand then coh here is going to rerank itfor relevance and then that's going tohelp it uh produce more relevant resultsso go ahead and run thisnext so what companies are NE havenegative reports uh or negative stim uhsent sentiment that might deter frominvestment long term and so there wehave some stuff handling userqueries okay named reranked documents isnotdefined did we not run it right hereand then we run ithere and I mean I believe it'sworking here it is using coh here downhere with the chat okay so it came backhere and so this onehere it's bringing in the documents sohere we have format documents for chatand then bring in the reranked documentsso we've already pulled the data andthen we're providing the documents tocoh here because that's how their APIworks at least with this versionum and then we can see the final resultsand then we can cite thepapers and so then we have using mongodbas a data store for conversation historythat's of course another thing that wecan do with mongodb I'm more interestedin the rag side of
(Editor in charge: ai)
Latest content
- ·Solana Developer Bootcamp 2024 - Learn Blockchain and Full Stack Web3 Development - Projects 1-9 - Ep40
- ·Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep23
- ·Artificial Intelligence Full Course _ Artificial Intelligence Tutorial for Beginners _ Edureka [DownSub.com](1).txt - Ep33
- ·Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep145
- ·Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep201
- ·Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep90
- ·Harvard CS50’s Artificial Intelligence with Python – Full University Course - Ep73
- ·Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep226
- ·Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep174
- ·Record turnout in South Korea election after failed martial law bid _ BBC News - Ep1
Hot content
- ·Solana Developer Bootcamp 2024 - Learn Blockchain and Full Stack Web3 Development - Projects 1-9 - Ep25
- ·Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep132
- ·Harvard CS50’s Artificial Intelligence with Python – Full University Course - Ep107
- ·Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep24
- ·Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep190
- ·[Hindi (auto-generated)] Machine Learning FULL Course with Practical (10 HOURS) _ Learn Free ML in 2025 _ Part-1 - Ep21
- ·Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep150
- ·Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep24
- ·Solana Developer Bootcamp 2024 - Learn Blockchain and Full Stack Web3 Development - Projects 1-9 - Ep76
- ·Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep173