Google AI Studio In 26 Minutes
26:28

Google AI Studio In 26 Minutes

Tina Huang 09.03.2025 283 358 просмотров 8 637 лайков обн. 18.02.2026
Поделиться Telegram VK Бот
Транскрипт Скачать .md
Анализ с AI
Описание видео
Improve your AI skills with the FREE Prompting QuickStart Guide I made in collaboration with Hubspot: https://clickhubspot.com/yj4t Want to get ahead in your career using AI? Join the waitlist for my AI Agent Bootcamp: https://www.lonelyoctopus.com/ai-agent-bootcamp 🤝 Business Inquiries: https://tally.so/r/mRDV99 🔗Affiliates ======================== My SQL for data science interviews course (10 full interviews): https://365datascience.com/learn-sql-for-data-science-interviews/ 365 Data Science: https://365datascience.pxf.io/WD0za3 (link for 57% discount for their complete data science training) Check out StrataScratch for data science interview prep: https://stratascratch.com/?via=tina 🎥 My filming setup ======================== 📷 camera: https://amzn.to/3LHbi7N 🎤 mic: https://amzn.to/3LqoFJb 🔭 tripod: https://amzn.to/3DkjGHe 💡 lights: https://amzn.to/3LmOhqk ⏰Timestamps ======================== 00:00 — Intro 00:48 — Overview of Google AI Studio 02:04 — Prompts & system prompts 07:45 — Quiz 1 08:42 — Run settings 15:43 — Analyzing video 17:36 — Quiz 2 17:51 — Stream Realtime 21:48 — Starter Apps 22:54 — Quiz 3 23:05 — Tune a Model 26:10 — Quiz 4 📲Socials ======================== instagram: https://www.instagram.com/hellotinah/ linkedin: https://www.linkedin.com/in/tinaw-h/ discord: https://discord.gg/5mMAtprshX 🎥Other videos you might be interested in ======================== How I consistently study with a full time job: https://www.youtube.com/watch?v=INymz5VwLmk How I would learn to code (if I could start over): https://www.youtube.com/watch?v=MHPGeQD8TvI&t=84s 🐈‍⬛🐈‍⬛About me ======================== Hi, my name is Tina and I'm an ex-Meta data scientist turned internet person! 📧Contact ======================== youtube: youtube comments are by far the best way to get a response from me! linkedin: https://www.linkedin.com/in/tinaw-h/ email for business inquiries only: hellotinah@gmail.com ======================== Some links are affiliate links and I may receive a small portion of sales price at no cost to you. I really appreciate your support in helping improve this channel! :)

Оглавление (12 сегментов)

  1. 0:00 Intro 167 сл.
  2. 0:48 Overview of Google AI Studio 313 сл.
  3. 2:04 Prompts & system prompts 1121 сл.
  4. 7:45 Quiz 1 214 сл.
  5. 8:42 Run settings 1489 сл.
  6. 15:43 Analyzing video 359 сл.
  7. 17:36 Quiz 2 35 сл.
  8. 17:51 Stream Realtime 824 сл.
  9. 21:48 Starter Apps 198 сл.
  10. 22:54 Quiz 3 11 сл.
  11. 23:05 Tune a Model 651 сл.
  12. 26:10 Quiz 4 56 сл.
0:00

Intro

I learned how to use Google AI studio for you and here's the cliffs notes version to save you the hours and hours that I spent learning about it and experimenting including actual realistic prompts that you can get started using to increase your productivity and to start building your own applications Google AI studio is honestly really powerful tool and I kind of regret not properly learning about it a little bit sooner it's just because like the UI can feel quite overwhelming because there's just so many things that are going on but trust me like once you actually learn how to use these tools and understand how it works together it opens up a lot of things it's like a whole new world of possibilities as per usual I have little quizzes throughout this video to help you actually retain the information I'm going to be talking about and yeah without further Ado let's get started a portion of this video is sponsored by
0:48

Overview of Google AI Studio

HubSpot okay so when you first go to Google AI Studio this is what you're going to see do you see what I mean there's just like a lot of stuff that's going on it can feel pretty overwhelming but don't worry I'm going to be going through all of these step by step and also providing Frameworks for how to actually use these properly but first I'm going to give you a quick overview so here you have your chat interface where you can just type in your prompts and because it's a playground environment there's also going to be a little bit more additional features that you have control over which will'll go over in a bit then you have stream real time which is when you can interact with Gemini using text voice video or screen sharing especially this one I think is really cool the screen sharing part you're able to allow Gemini to see what you see on screen and you're able to interact with it and talk with it based upon what's on your screen is there anything you would like to know about it I want you to tell me what is happening on screen okay the video shows a football match between Arsenal in West Ham the score is 0 to zero starter apps is a great place to start where you can see the kinds of applications that you can prototype and build using Google AI studio and fine-tuning a model you can actually fine-tune on Google AI Studio directly and finally there's a library where shows the history of the prompts that you have and a prompt gallery that gives you some inso for the kinds of prompts that you can try out Google studio is also free to use unless you're building like really large scale applications so the most natural thing
2:04

Prompts & system prompts

that you probably want to do is just to start typing something in as a general prompt which is fine you're directly telling to AI to do something very specific for you right now but I actually want to spend some time talking about the system instructions here or a system prompt because I think it's something that is really slept on is really underrated a system prompt is more like setting an instruction guide for all of the interactions for that specific AI you can very specifically Define the a I's personality capabilities and limitations making your results just much better the way that you define a general prompt is also slightly different from a system prompt so to explain this let me first just start with a tiny little crash course on prompt Engineering in general the frameware that I like to use I call it the tiny crabs right enormous iguanas framework it's a pneumonic that stands for task context resources evaluate and iterate and I promise you if you can remember just this one pneumonic and what it stands for you'll be better at just prompt engineering than like 90% of the population the task is specifying what you want the AI to do the context is additional information and directions that you can provide to AI to have a better understanding of your task resources are examples or any additional information that you can provide the AI with that it doesn't already know then after you run the prompt evaluate is to see the results and iterate is to see what you can do to improve it let me actually show you an example of this framework so the task is that you want a marketing campaign for your new nail art collection it's also important here that you specify that it should be an IG post caption which is the output context is just any additional information that you can give to the AI I've attached a picture of the nail art collection I've also attached some inspo IG post that I like here's the you attach is going to be the resources where you're providing to AI with any examples in this case it's a few screenshots of IG post but it could also be like different PDFs that you're wanting to create a report or something like that just anything that the AI doesn't already know and you're providing it additional information let's actually run it and it gives us some options in the style of the examples that we provided next is to evaluate and you might be like okay like this is nice but I want it to feel more personal so we then move on to the final part of the framework which is to iterate you might type I want the post captions to feel a little bit more personal like a story and there you go remember those Endless Summer Nights catching fireflies and dreaming under the stars I poured that feeling into our new nail art collection these Glitters are like bottled Starlight etc etc I'm like okay after this iteration I quite like it now okay so that is a general good prompt engineering framework guideline but let's actually go back to the system prompt the framework for crafting a system prompt is not actually different but there is a little bit more emphasis placed on different parts of the framework specifically you want to put more emphasis on the task and the context for the task is not as direct as just saying exactly what you want it to do you want to think about it more as the ai's overall role and interaction style you want to consider the tone that you want the AI to communicate with do you want it to be formal informal humorous professional the length of his responses should it be brief should it be really detailed the format of the output should it be a list a paragraph code Pros Json formats you also want to define a Persona which is explicitly stating in ai's identity and characteristics this is something that you can also include in your general prompts but a lot of times you can get away with not doing that just because the task that you're asking it to do is so specific but for a system prompt you definitely want to include a Persona some examples of personas would be like you're a helpful and friendly coding assistant you might want to include some expertise like you're an expert specifically in python or JavaScript or you might want to put some restrictions like say you're a medical expert but you are not authorized to provide medical advice now for the context this is the opportunity for you to provide even more additional information and instructions to the AI you can specify like domain expertise like you have access to a database of academic papers in the field of astrophysics give more details about what is allowed or not allowed to do like you're allowed to access external websites to retrieve information but you're not allowed to generate any responses that has anything to do with being sexually suggestive or exploitative for example the rest of the framework Remains the Same so let me actually give you an example of what a good system prompt will look like say you're interested in creating AI that is specific for providing recipes here is the system prompt you're a helpful cooking assistant specializing in simple one pot recipes so that's the Persona your task is to analyze photos of ingredients and suggest recipes based on them the task provide recipes in a clear step-by-step format include approximate cooking times and how many people the meal should serve this is specifying with more detail about the output always stick to recipe suggestions and cooking advice if asked about anything unrelated to cooking or nutrition politely redirect the conversation back to their recipe ideas and this is additional context so let's set the system prompt and I'm actually going to put a picture this is an actual picture of what is currently in my fridge the general prompt we're going to write is analyze the photo and list the main ingredients that you see then suggest the meal preferably as a stew or a soup um not pictured but I also have kimchi Japanese Curry cubes and rice okay so it says that what I have here is tofu eggs lemon soy sauce and miso that is correct um and it says I can make a kimchi tofu stew with eggs kimchi gig inspired great wonderful okay time for
7:45

Quiz 1

our first quiz please answer the question displayed on screen and put it in the comments I really hope that by now you can see how important the skill of prompt engineering is it can be the difference between getting the results that you want and just getting like some generic response hands down prompt engineering is the highest return on investment skill that you can learn in 2025 so if you are looking to improve your prompt engineering skills I highly recommend that you check out this free prompt engineering quick start guide that I made with HubSpot it includes a step-by-step guide to creating great AI prompts and also tips to get better results my favorite part is that there's a flow of bad to good to Great prompts that exactly shows you how you can improve a prompt if you're able to get yourself to start thinking in this way you will become much better at prompting and also just be much more productive at everything that you do so do check it out at this link over here also linked in description thank you so much hpot for creating this free resource with me and for sponsoring this portion of the video now back to the video okay so now
8:42

Run settings

I actually want to talk about all the little features that you see over here that are actually really powerful the first thing you can do is that you see how in the model you can switch to models that are available we're currently using Gemini 2. 0 flash but we can actually click compare and be able to try out another one and compar to results like Gemini 2. 0 pro experimental February 5th let's do that one okay so I'm just going to do the same prompt click run and we see that um flash is faster which is expected and Gemini 2. 0 pro is a little bit slower in its response but it is more detailed like providing tips and notes as well so I don't know if this is a fluke but I actually identify the tofu is firm or press tofu while here it was not specified what kind of tofu it was and it actually is from tofu also I want to specify that because I'm in Hong Kong the language that's being written actually I think some of it is Japanese but the other parts of it is in Chinese so it does work for things and labels that are not in English as well let's just stick to Gemini 2. 0 flash because it's faster and I want to talk here about DET token so one of the biggest highlights of the Gemini models is that it has a huge context window at over a million and just to give you an understanding of how big that actually is this means that you can provide it with like five or six full length books people have tried doing that and what's really cool is that it's also able to analyze video because video data is generally a lot larger and I have managed to put in videos up to like four to 5 minutes it's also really good like better than any model I've seen but I'm getting ahead of myself I'll show you guys in a bit let's first get through the rest of these temperature is the amount of creativity that you're going to allow the model to have if you have higher temperatures it's going to be more creative and it's up to and if you have lower temperatures it's going to be less creative structured output is when you want more control over what the result is going to look like and you want it to be reproducible let me give you an example of when having a structured output would be helpful so say you're a product marketer and you want to have ai help you a little bit here's your system prompt you're a product marketer targeting a jenzy audience create exciting a fresh advertising copy for products keep copy under a few sentences long and use jenzy lingo so if you were just to type something here like say create copy for a pair of men's black running shoes and you run it would you know come up with like this kind of thing situation but if you turn on structured output for example um and you can actually come here and edit what it is that you want it to look like and the reason why you want to do this is maybe you want the output to be a very specific format because you want to be able to plug this into a database or to an application that you're making so this is especially helpful if you're a developer um because you can get the data to look a certain way to make sure that your app is consistent so a certain for example here the code editor looks like this but we can also use the visual editor and you can add a property like here we might want to say um I don't know product name and we want to make this required and then you can also say the product copy right and it's also going to make this required and you can of course change this into whatever it is that you want uh we're going to keep it as string for both and if you do that you would get like this like a Json format and you're able to copy that to a clipboard or to download it as well and because it's an a Json format you can actually get the code for it too yeah you'll able to take this and then put it into your application this is so helpful and really powerful so I'm not going to go and actually like make an application right now to like show you everything cuz this video is already probably going to be really long but let me know in the comments if you're actually interested in me showing you how to build like a full AI application hello it is Tina from the future here I just want to let you know that if you're interested into diving deeper into different AI topics cuz I can't fit everything into just a single video I also do AI workshops that are completely free so if you're interested you can sign up at this link over here also linked in description okay back to the video anyways in the meantime let me go through the other tools that are available here so code execution is pretty straightforward you're basically allowing the AI to have the ability of executing codes whether that be a calculation whether that be if you're wanted to create an application for you um it can go and execute code to in order to do it so a really simple example would be something like just calculate how much money I would have earned if I put $1,000 with a compound annual interest rate of 9% for the past two years you can put in code execution and it would be able to do this calculation for you there you go next up is function calling and this can be really powerful it allows you to equip your AI with custom functions or tools so that it's able to either pull data or execute certain things a simple example here is that you can have something called get weather and that can connect to an external API so it's able to directly pull information about a specific weather forecast directly from the API another example would be if you want your AI to be able to book restaurants for you might want to give it access to an API like Open Table where it can be able to call this function and actually do the reservation for you another example if you have a function that gives it access to the Google Calendar API it would allow the AI to be able to schedule things into your actual Google Calendar function calling also really starts to shine when you're actually building AI applications so we're doing that video I will go into more detail about it but moving along the last tool available is grounding with Google search this gives your model the ability to browse the internet and to validate whatever it's outputting with results from Google it's helpful for preventing hallucinations and also to give your model access to information that it doesn't currently have here is an example so this is actually true I'm going back to San Francisco May 15 2025 for a wedding while I'm there what are some interesting festivals conferences were events that I could also drop by and visit I'll stick around until end of May and I don't mind traveling within the US and Canada also write I'm interested in events related to education Tech and just general cultural or music festivals then we're actually going to turn on grounding with Google search so it's able to have information from Google to look up it gave me some options over here and it also shows what it is that it's searching um on Google search as well there are also some more advanced settings like setting safety settings depending on the kind of responses that you want to get a stop sequence what it is that you want to potentially get the AI to stop if it reaches a certain sequence the output length how long you want it to be in terms of number of tokens and the top ke which is another way of controlling the randomness of the output that is different than just adjusting the temperature you can definitely play around with these and it can be helpful if you're doing like very specific things but I would say generally speaking there's really not that much need to fiddle around with these unless again you're building an application or something like that let's not talk about let's now
15:43

Analyzing video

talk let's not talk two hours later let's not talk about video specifically video stuff like video Generation video analysis and things like that has been emerging for a while now but it really is starting to shine especially with Gemini you can see why having such a large context window is able to allow you to analyze quite a lot of video content and it does it better than what I have seen any other model do so far here is a clip of a football match between Arsenal and West Ham United I don't know anything about football but it's a clip that I found as one of the highlights so I'm going to take this 2-minute clip put it into Gemini and write analyze the provided video highlight reel for Arsenal versus West Ham 0:1 Premier League could you first identify the timestamps of the goals and near misses and then whoops and then give a detailed commentary with timestamps oh my God I actually even got the people's name right I don't actually I don't know if these names are right so it says key moment time stamps the near misses the goal and another near Miss I know that this is correct that is correct 47 seconds in there's a goal that is also correct and it was in fact West Ham and at a minute 49 there was another near Miss I don't know if it was actually these people that did it but for anybody that knows football are these the actual correct people yeah and then it gives a detailed commentary about what it is that is happening as well that is freaking cool isn't it like that is that just like blew my mind I was able just to like analyze the video data and that just unlocks so much potential for all the video content that we have available of course in addition to video data you can also upload like large files power points PDFs upload all these resources as well to Google AI studio and the model does a pretty good job of extracting information from it
17:36

Quiz 2

but before I move on to the next section here is a little quiz to make sure that you're retaining all the things and informations that I am talking about answer the questions in the
17:51

Stream Realtime

comments let's talk about stream real time and this allows you to interact with Gemini using text voice video or screen sharing so I'm sure that many of you guys have tried out the voice functionalities but using Google AI Studio you can also show Gemini using your webcam and interact with it directly and you can also share your screen so it's able to have context about what is happening in your screen and give you real-time commentary directing you to things giving you instructions or just interacting with whatever it is that you're interacting with okay so we're going to do share your screen Chrome tab and this one specifically okay I see you're talking about a specific Chrome tab is there anything you would like to know about it what is happening in this clip right now okay in the video the players are moving around the field and a player in black is on the ground having just been tackled it looks like the player in red and white has gained possession of the ball also the score is now Arsenal zero West Ham 1 so there is a little bit of a lag but just the fact that it's able to watch that video with you and just comment on what's Happening like that was so mindblowing to me you can probably see that this is so powerful as having like a very personalized Specialist or personalized tutor just comment or teach you whatever it is and just constantly help you out and whatever it is that you're doing so another example here is I'm going to share a screen okay I see that you are sharing your screen is there anything you would like me to do with it yes so currently I have this picture on Photoshop and I want to remove the turtle at this very on this very back of the image how do I do that okay to remove the turtle in the back you could use the lasso tool to select it then use the content aware fill option to fill in the space would you like me to go into more detail about this yeah can you instruct me step by step on where to click and what to do okay first select the lasso tool from the toolbar on the left side of the screen let me do a step by step hold on so the lasso tool so you want me to draw a selection of the turtle here yes that is correct you will want to use the lasso tool to draw a selection around the turtle in the very back okay I did that now what now that you've made a selection with the lasso tool go to the edit menu at the top and then select content aware fill this will remove the turtle and try to fill the area with what's around it I don't see content aware fill okay I see my apologies oh no I see it here it's grayed out over here okay it seems the content aware fill option is grayed out this means that you likely have an object layer selected could you please select the image layer and try again I do have the image layer selected then F and then the cont you to right and go edit then fill and cont contare and press okay oh okay so now I can see it so I now I do content aware fill yes now you can use content aware fill oh nice okay cool and then I can just click okay nice yes you can click okay to apply the content to Weare fill yeah there you go I played around quite a lot with streaming old time and it is honestly like so incredible like it blows my mind that people don't know about this and the fact that this is free like all the use cases that you can think of whenever ever it is that you want someone to just teach you something directly whenever it is that you just wish someone would just like show you how to do something as opposed to watching like 50 tutorial videos about something this can do it for you when you're coding you know you don't know how to do something whatever it is you can use stream real time to do that um whenever you're looking at some Excel file don't know what the function is that works as well even using like the um webcam style like you're drawing something you're asking it to critique what it is that you're drawing it's just so many different use cases well I'm curious to know what kind of use cases that you've tried out where you can suddenly imagine this being able to help you with let me know in the comments the next tab is some starter
21:48

Starter Apps

apps so this is where Google provides some examples of some of the apps that you can prototype and build out using Gemini uh and using Google AI studio so I just want to show you like for example map Explorer which is really cool and this is something that you can get the code for on GitHub as well so for example you can say take me somewhere ancient and it will tell you that you can go somewhere like go I don't know how to pronounce in Turkey this archaeological site is home to the oldest known megaliths in the world and it gives you the information here this is connected to the Google Maps API and you can also type something like I want to go somewhere close through Hong Kong that has a lot of hiking trails and is relatively remote and here it is Crooked Islands offers pristine beaches Lush forest and challenging trails and you can explore this area zoom into things as well pretty cool right yeah definitely play around with some of these starter apps and just feel very inspired by all the things that you can build okay time
22:54

Quiz 3

for another quiz please answer these questions and comment in the
23:05

Tune a Model

comments moving on now to the final really cool feature from Google AI Studio which is tune a model you can f tune a model directly within Google AI studio and you don't even need to know how to code so why would you want to do this the reason why you might want to find tuna model is if you want to increase the performance of the model for a very specific task the way that fine-tuning works is that you provide the model with a training data set that contains many examples of a task this is especially useful if you have a very Niche task and fine tuning can allow to have significant improvements in the results it's recommended that you have 100 to 500 examples and you can create a structured prompt so the data that you want to provide should be in two columns the first one is the input which is the user's input and the output which is what the model's response is so one way of doing this is that you can just directly ADD test examples into the UI itself or you can import a CSV they also provide some samples of what this can look like so we can try out one of the samples here so say we're going to try out the news headline so this is what the input and output looks like so the input here is that you have like a huge chunk of things blah blah like all this information that is here and the output you wanted to say just mobile games come of AG you can call this model whatever you want so we can call it news model and the model that we're going to choose here is the 1. 5 Flash and then we can just click tune so in your library over here it is fine-tuning and look yay it looks like that you can use your tune model now so you can use it in chat copy paste some new segment and let's run it warning receipts are fast future contracts which is in the style that the training data set is on some other useful use cases for when you would want to find tuna model is say for example if you want to have some specialized ranking system like maybe you have a bunch of comments and you want to rank it from like 1 to five but in a very specific criteria sort of way that can be useful by providing examples and fine tuning maybe you want to translate medical note shorthands or go through a lot of documents like legal documents and extract very specific components from each of these documents it may also be useful in customer support if you're selling like a very specific type of product and the way that you want to interact with a customer is very specific that can also be useful and actually after you find tun a model you can also easily incorporate that into an app like say if you want to build um a customer support agent out of it from your fine-tuned model you can just directly add API access where you can just go here and get your API key and have access to the model programmatically again if you want me to do a video in which I'll show you how to build these applications let me know in the comments if you then I will know that there is interest and I will feel motivated to do it all right I think that was a pretty comprehensive overview tutorial slash I don't know run through of Google AI studio and I really hope that you're able to see how much potential this tool has and you feel inspired to try it out yourself as well before I end this video
26:10

Quiz 4

I'm now going to put on screen the final little quiz if you were able to answer all of these questions from all these quizzes then congratulations you are now quite educated on Google AI Studio thank you all so much for watching and I will see you guys in the next video or live stream

Ещё от Tina Huang

Ctrl+V

Экстракт Знаний в Telegram

Транскрипты, идеи, методички — всё самое полезное из лучших YouTube-каналов.

Подписаться