Master the Gemini API: A Node.js tutorial with real examples

  Рет қаралды 38,926

Google for Developers

Google for Developers

Күн бұрын

Пікірлер: 68
@GoogleDevelopers
@GoogleDevelopers 6 ай бұрын
Register to save your spot for Google I/O✨➡ goo.gle/io24-yt
@claudioipp
@claudioipp 7 ай бұрын
Great video! Those models are very powerful! I would love to see a new video using Next.js to create an app using Gemini in a novel way (not the classic chatGPT clone). For example: an app where, given a list of flavors, the user can add and remove items from a pizza order.
@rishavacharya7686
@rishavacharya7686 7 ай бұрын
This is helping me build my first AI project!
@RylanTech
@RylanTech 5 ай бұрын
Man this is so cool! Especially being able to upload images, I look forward to developing with Gemini!
@GoogleDevelopers
@GoogleDevelopers 5 ай бұрын
Check out the GitHub for this episode! → goo.gle/3JGa0Lf
@theknight7694
@theknight7694 4 ай бұрын
thanks
@yashmawer9375
@yashmawer9375 Ай бұрын
Great
@rammohan2870
@rammohan2870 6 ай бұрын
Making a fully functional react app would be great and looking forward for you to try on..
@shedrackaji8997
@shedrackaji8997 5 ай бұрын
Great work mate! Thank you for making complex stuff easy
@GoogleDevelopers
@GoogleDevelopers 5 ай бұрын
That's our goal here! Thanks for watching! 🤗
@MEGANLEWIS-q2c
@MEGANLEWIS-q2c 2 ай бұрын
Such an amazing tutorial. Clear, concise, and short.
@tntg5
@tntg5 7 ай бұрын
What software do you use to record yourself alongside your screen ?
@HashimWarren
@HashimWarren 6 ай бұрын
really clear, accessible tutorial. Thanks
@GoogleDevelopers
@GoogleDevelopers 6 ай бұрын
Thank you for watching! We’re glad you found the video helpful.
@ajaymishra1511
@ajaymishra1511 4 ай бұрын
Is it free
@tangocukedi1
@tangocukedi1 7 ай бұрын
you dont need dotenv for node versions 20.6 and up
@amnesianOblivion
@amnesianOblivion 6 ай бұрын
😂 noob 😂
@mnemonija
@mnemonija 6 ай бұрын
hehe, if this were with you while you were in school, you would have flunked :) I gave him the same triangle you did, only passed the problem statement with the prompt, and indeed, it worked. But i said, this must be a very common example people use with triangles, and (3, 4, 5) or (6, 8, 10) are probably the most popular sides because they are all integers. So i then gave it an isoscales triangle with sides (6, 8, x=6) to solve, but without telling it its isoscales to see if it would say not enough information. No, no complaints, probably cheated in measuring that the answer was 6, and gave me the pythagorean answer with 10^2-8^2 => x=6. Ok, it was a trick question and it riffed to come up with an explanation. So i tell it its isoscales triangle and it still falls on its face, in spite of correctly identifying which angles were the same. maybe with isoscales triangles the questions are commonly to identify an angle, but note that even math is not correct, because these things cant do math or any strict logic. they are not intelligent. Since the triangle is isosceles, we know that the two angles at the base are congruent. Let's call this angle y. We also know that the sum of the interior angles of a triangle is 180 degrees. So, we can write the following equation: y + y + x = 180 Simplifying this equation, we get: 2y + x = 180 We also know that the base angles are each equal to (180 - x)/2. So, we can write the following equation: (180 - x)/2 = y Substituting this equation into the first equation, we get: (180 - x)/2 + (180 - x)/2 + x = 180 Simplifying this equation, we get: 180 - x + 180 - x + 2x = 360 Simplifying this equation, we get: x = 180 Therefore, the value of x is 180.
@c_36_vinitpalsingh33
@c_36_vinitpalsingh33 7 ай бұрын
Great tut. To the point and clear. Does gemini api have limitations? like X words per prompt or something like that?
@developerfilip
@developerfilip 7 ай бұрын
Yes - Specific models have token limits - meaning the amount of data you can send or recieve back. ☺️
@brauliopf
@brauliopf 6 ай бұрын
Great video. Thank you for sharing in detail. Can you share the github link for the code? Thank you
@developerfilip
@developerfilip 6 ай бұрын
The GitHub repository with all the code is pinned at the top of the comment section!
@schoolbreakyay
@schoolbreakyay 4 ай бұрын
I just have one question. how can i run this on the web like on localhost?
@enghimanshu
@enghimanshu 3 ай бұрын
yup
@shashikantvishwakarma888
@shashikantvishwakarma888 7 ай бұрын
That's amazing buddy ❤
@oluwapamilerinsobiyede3846
@oluwapamilerinsobiyede3846 4 ай бұрын
Somebody please teach me how to like this video twice
@ramkrish9098
@ramkrish9098 3 ай бұрын
click 2 times🤣
@swapnilmane1599
@swapnilmane1599 4 ай бұрын
Nice video! My question is how can I teach gemin to respond me in the format I have provided...in json only no other text like this.
@wasimsafdarhumma5515
@wasimsafdarhumma5515 5 ай бұрын
Great! Can we also do image processing using Gemini API?
@tedtoad2471
@tedtoad2471 2 ай бұрын
Trying to get this going on Raspberry Pi. Upgraded to nodejs v-20 pasted the key into the .env.local file and am still getting invalid key error. Any ideas?
@iPKS365
@iPKS365 7 ай бұрын
Google best for education
@yoeldelanoval4507
@yoeldelanoval4507 7 ай бұрын
thanks, great video, maybe you can add call functions examples
@biswajitmuduli7333
@biswajitmuduli7333 2 ай бұрын
Is this channel is made by original Google company?
@kaissoune
@kaissoune 4 ай бұрын
Hi, I've been trying to access it, but it redirects me through various pages and displays this message: "If you reached this page after attempting to open Google AI Studio, it may be because Google AI Studio is not available in your region, or you don't meet the age requirements (18+) for access. You can learn more about the available regions in the following section and other requirements in the terms." I am originally from the Comoros, but I am currently residing in Mayotte Island, and I am 25 years old.
@owonobrandon8747
@owonobrandon8747 5 ай бұрын
we should somehow store the 'history' in a kind of compressed image, and hope they infer teh right context from it
@danish7335
@danish7335 7 ай бұрын
I made this project last week
@ManweyVideos
@ManweyVideos 5 ай бұрын
Nice video, just to point out there are lots of unnecessary "await" in the source code (''await' has no effect on the type of this expression.ts(80007))
@ockiyacliff9020
@ockiyacliff9020 5 ай бұрын
thank you.. for being awesome
@ramasamynagappan7586
@ramasamynagappan7586 6 ай бұрын
Is function calling possible using Gemini?
@Random-kn5of
@Random-kn5of 14 күн бұрын
"and you can't commit it" - Challenge Accepted!
@JasonEvans01
@JasonEvans01 5 ай бұрын
Do I need to set up billing for the API Key to work? Right now it says 'Free of charge' as its plan. When I run the gemini-pro.js file it says that my API_KEY_INVALID with a 400 status and BadRequest for its statusText.
@JasonEvans01
@JasonEvans01 5 ай бұрын
Simply renaming the .env.local file to .env resolved my issue as the API Key wasn't available in the code.
@عمرعبدالرحيم-خ2ل
@عمرعبدالرحيم-خ2ل 6 ай бұрын
where can i find the code?
@developerfilip
@developerfilip 6 ай бұрын
The GitHub repository is pinned to the top of the comment section! ;)
@عمرعبدالرحيم-خ2ل
@عمرعبدالرحيم-خ2ل 5 ай бұрын
@@developerfilip i could not find it can you provide a link? im having a problem with setting up the memory and i need the repo to check how u did it
@sagarchawla4926
@sagarchawla4926 4 ай бұрын
Hey where can i get the source code for this
@卛
@卛 4 ай бұрын
doesnt show how to do streaming between backend and frontend
@slygrin1971
@slygrin1971 5 ай бұрын
Sourse code?
@fridoper124
@fridoper124 7 ай бұрын
Lets goooo gle🎉
@noadsensehere9195
@noadsensehere9195 5 ай бұрын
where is the open source code for this
@عمرعبدالرحيم-خ2ل
@عمرعبدالرحيم-خ2ل 5 ай бұрын
can someone provide the repo link?
@serenaAI
@serenaAI 3 ай бұрын
Great, but where is the github link? sorry
@passion_talks
@passion_talks 2 ай бұрын
github link please?
@yashpurwar932
@yashpurwar932 Ай бұрын
14:00
@humanish_ai
@humanish_ai 6 ай бұрын
want github repo
@developerfilip
@developerfilip 6 ай бұрын
It's pinned to the top!
@janklaas6885
@janklaas6885 5 ай бұрын
📍17:00 2📍12:00
@medouchane8659
@medouchane8659 7 ай бұрын
❤❤❤❤❤❤
@user-13-g9h
@user-13-g9h 7 ай бұрын
Node……………. The likes
@baluchitturi837
@baluchitturi837 7 ай бұрын
First comment ♥️🔥
@courageabenyegah4020
@courageabenyegah4020 7 ай бұрын
Create
@JohnnyUtah269
@JohnnyUtah269 6 ай бұрын
Too slow
@MOHIT-PRASAD
@MOHIT-PRASAD 6 ай бұрын
@developerfilip hello 😃
@dhyaneshsiddharth5126
@dhyaneshsiddharth5126 3 ай бұрын
$ node server.js Error occurred: TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async makeRequest (file:///D:/PROJECTS/New%20folder%20(2)/node_modules/@google/generative-ai/dist/index.mjs:366:20) at async generateContent (file:///D:/PROJECTS/New%20folder%20(2)/node_modules/@google/generative-ai/dist/index.mjs:801:22) at async run (file:///D:/PROJECTS/New%20folder%20(2)/server.js:12:20) Why i am getting this error while integrating Gemini AI on Node js? @GoogleDevelopers Pleqase Solve
How to build Multimodal Retrieval-Augmented Generation (RAG) with Gemini
34:22
Google for Developers
Рет қаралды 67 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 740 М.
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 21 МЛН
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
The Gemini API: From prototype to production
44:36
Google for Developers
Рет қаралды 14 М.
1 HOUR - Learn the Gemini API and build a multi-turn chat bot!
41:47
Code with Ania Kubów
Рет қаралды 34 М.
Google Gemini AI API - JavaScript & Node JS Tutorial
8:40
Mitter - Your Tech Mate
Рет қаралды 1,6 М.
AI Data Agent with Gemini API | Build with Google AI
11:22
Google for Developers
Рет қаралды 36 М.
The CORRECT way to use Google Gemini - Updated for 2024!
9:57
JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue
12:35
Gemini Vision API: Node.js Setup in Minutes! 🚀
22:53
Ralf Elfving
Рет қаралды 6 М.
What are AI Agents?
12:29
IBM Technology
Рет қаралды 562 М.