Тёмный

Gemini 1.5 Pro for Code - Part 01 

Sam Witteveen
Подписаться 58 тыс.
Просмотров 62 тыс.
50% 1

Gemini Blog - blog.google/technology/ai/goo...
CrewAI: github.com/joaomdmoura/crewAI
🕵️ Interested in building LLM Agents? Fill out the form below
Building LLM Agents Form: drp.li/dIMes
👨‍💻Github:
github.com/samwit/langchain-t... (updated)
git hub.com/samwit/llm-tutorials
⏱️Time Stamps:
00:00 Intro
00:00 CrewAI
00:57 Getting the Repo into Gemini
01:59 Hey Gemini what is CrewAI?
03:30 How to set up in colab
03:46 putting it into Colab
04:05 Creating a simple 2 Agent bot
05:36 Running the bot in Colab
07:08 Adding in a Gemini model
08:53 Making a Bot with a Search Tool
09:35 Running the Search & Rewrite Bot
11:40 Using code understanding a code base

Наука

Опубликовано:

 

2 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 77   
@samwitteveenai
@samwitteveenai 3 месяца назад
If people have repos/tasks that you want me to try in part 2 post them here and I will record the video in about 12 hours from now. Please give specific examples etc.
@pierruno
@pierruno 3 месяца назад
Can you use AutoGPT, SuperAGI, GPT Pilot or GPT Engineer
@WatchNoah
@WatchNoah 3 месяца назад
I think you should put the temperature down. temperature=2 seems quite a lot for coding tasks
@StevenSSmith
@StevenSSmith 3 месяца назад
​@@WatchNoahhe pointed out in an earlier video that the temp slider is locked for Gemini 1.5 and that he doubts they're actually using a temperature of two.
@mwdcodeninja
@mwdcodeninja 3 месяца назад
I want to look at the prisma repository. I would ask for: " A step by step implementation plan to allow prisma compile and introspection to create and compile each table in its own folder within a designated schema directory as per the schema config, while also maintaining type safety between the partial schemas." This is a years old feature request on github with over 300 comments, overwhelming support, and a complete lack of developer attention.
@Rensoku611
@Rensoku611 3 месяца назад
It shouldnt be an AI-related repo, because otherwise most people cant check if Gemini is answering correctly
@boqsc0
@boqsc0 3 месяца назад
Summary of books and generating code and code analysis from codebases are the most interesting things. Thanks for exciting video Sam, looking forward to part 2!
@mobilephone2672
@mobilephone2672 3 месяца назад
CrewAI is really cool and I love the proyect but If you want to really test context and code base you should try it with mentant
@deeplearning7097
@deeplearning7097 3 месяца назад
That was very interesting, thank you. It would be nice to see some copilot vs gemini comparisons. Not sure about code whisperer, that seems to be set up for AWS integration, but might be worthy of inclusion. Thanks again.
@sagarsrinivas5418
@sagarsrinivas5418 3 месяца назад
Keep Going!.
@kate-pt2ny
@kate-pt2ny 3 месяца назад
Both gemini 1.5 and CrewAI are very popular, and the youtuber is very smart. The two are combined together. Thank you for your careful production.
@micbab-vg2mu
@micbab-vg2mu 3 месяца назад
Very useful - when I code with GPT4 - I have a problem with new libraries and updates. Gemini 1.5 Pro with huge context window may be the solution:)
@reza2kn
@reza2kn 3 месяца назад
MARVELOUS PRESENTATION! I really, really appreciate that you make sure it's easy for people to follow what you're doing. I think many RU-vidrs pay a lot more attention to having the "right SHOCKING caption" or a "thumbnail with their mouth and eyes open surprised as hell" than they do about integral stuff like making sure you're getting the message across.
@samwitteveenai
@samwitteveenai 3 месяца назад
Was just about to shoot a thumbnail with my mouth open and you have saved me. Thank you!!
@EDashMan
@EDashMan 2 месяца назад
Hahah. Can you please try generate a full stack app asking it to provide the front end in next.js the react framework?
@P-G-77
@P-G-77 3 месяца назад
Very interesting...
@ankitnmnaik229
@ankitnmnaik229 3 месяца назад
Wow... impressive actually... Great video ... Keep pushing 1.5 pro.
@zoombapup
@zoombapup 3 месяца назад
I'd really like to see this working for the FastAPI codebase, I've got a bunch of students learning it right now and would be curious how something like this would help them. For an example, get it to write a FastAPI api for a library application. Bonus points for making it generate a react frontend :) good idea for a vid, thanks for the crew AI info too.
@llmtime2178
@llmtime2178 3 месяца назад
Yeah I don't understand why this guy is doing such limited and timid use cases he has a beast at his disposal. How far can it go in created your standard Saas style full stack application?
@philipsoerensen
@philipsoerensen 3 месяца назад
Do you have a sense for the output token limits? GPT4 limits output at 4,096 tokens, which I've found restrictive for certain use cases like writing out long code scripts. Curious if the output token limit for Gemini Pro 1.5 is higher.
@samwitteveenai
@samwitteveenai 3 месяца назад
not sure they want me to say currently (and the model may change before wide release) I don't think you should expect super long output though. I have found it to be similar to a lot of models in that it is hard to get it to output something too long in a single output.
@philipsoerensen
@philipsoerensen 3 месяца назад
@@samwitteveenai Thank you and appreciate your answer! The way I usually test this is by providing a very long code script in the prompt and asking it to (i) change a few things and (ii) send the entire code repo back to me with the changes. Typically, the model starts rewriting code script and then typically stops at around 4k tokens. If you have a second to try that method out I would highly appreciate it. 🙌
@Novacasa88
@Novacasa88 3 месяца назад
I'm confused you said this is Gemini 1.0 in the video versus the title?
@gkennedy_aiforsocialbenefit
@gkennedy_aiforsocialbenefit 3 месяца назад
Awesome video. Thank you! Can you share the Notebooks code to test. Thanks
@samwitteveenai
@samwitteveenai 3 месяца назад
Sure here you go colab.research.google.com/drive/1VACRSn9LqbFcJlPe4qtryNY_3Jl4ssqS?usp=sharing
@gkennedy_aiforsocialbenefit
@gkennedy_aiforsocialbenefit 3 месяца назад
Your amazing. Thank you @@samwitteveenai
@PavelSTL
@PavelSTL Месяц назад
Sam can you please tell how you get to that "Google AI Studio" interface that gives you options to insert files, folders etc. My Vertex AI studio doesn't have those options and only allows specific files formats for uploads (mostly multimedia only). I can't seem to find any tutorial on that either. Thank you !
@samwitteveenai
@samwitteveenai Месяц назад
just make sure you select the 1.5 model. Take a look at the new vid I just released I mention it there.Vertex is different than AI Studio btw
@PavelSTL
@PavelSTL Месяц назад
@@samwitteveenai Thanks Sam. I love your videos. It's the perfect blend of concepts and ideas with actual code implementation, at the right level of detail, focus on important points, and even the speed of content delivery. Just outstanding !
@Algoritmik
@Algoritmik 11 дней назад
Hey @samwitteveenai, I don't want to sound like a noob however how the heck you could provide repo files to ai studio? Currently, I can't see any way to upload my code to it.
@khietvidai
@khietvidai 3 месяца назад
How can reg Gemini 1,5. I still 1.0
@abdulbasitnisar
@abdulbasitnisar 3 месяца назад
Where can we access Gemini 1.5?
@frricbc4442
@frricbc4442 3 месяца назад
Can you provide the colab note book pls?
@samwitteveenai
@samwitteveenai 3 месяца назад
Sure here you go colab.research.google.com/drive/1VACRSn9LqbFcJlPe4qtryNY_3Jl4ssqS?usp=sharing
@EricB1
@EricB1 2 месяца назад
Seems we cannot use Gemini Pro 1.5 in a program yet, only in their playground. 😰
@SamarthGupta-gj8dc
@SamarthGupta-gj8dc 3 месяца назад
How to get access to Gemini 1.5 pro? I only see gemini Pro in my account.
@lmcst2821
@lmcst2821 2 месяца назад
You need to apply for it and get access to the Private Preview. I just got access 4 days ago but I think I applied a month ago I think.
@clray123
@clray123 3 месяца назад
Maybe you should mention that Google AI Studio is still unavailable in EU.
@samwitteveenai
@samwitteveenai 3 месяца назад
have you tried a VPN? for AI Studio?
@cybertruck2008
@cybertruck2008 3 месяца назад
YOu can use it by VPN, i just got access by connecting to turkey
@samwitteveenai
@samwitteveenai 3 месяца назад
interesting to know.
@apache937
@apache937 3 месяца назад
but did you get 1.5 ?@@cybertruck2008
@hqcart1
@hqcart1 3 месяца назад
does duckduckgo provide search api without api key?
@samwitteveenai
@samwitteveenai 3 месяца назад
yes with that package at least. Thats why I usually use that for the demos.
@catdevzsh
@catdevzsh 3 месяца назад
Try making a bin Unix package from url 😂
@flv-hd7nn
@flv-hd7nn 3 месяца назад
which is better for coding and programming tasks gpt4 or gemini 1.5 ?
@pawelszpyt1640
@pawelszpyt1640 3 месяца назад
So it sends the whole codebase with each prompt there I guess? No embeddings, right? So, 40k tokens is like 200k characters. With pricing of Gemini Pro (and 1.5 is probably going to be more expensive), first request you send will cost you around $0,05 (and each next request in the conversation will be more expensive than the previous one). It's gonna stack up pretty fast, considering you will have to ask multiple times to get stuff done right. That is if you are in European Union, as the rest of the world probably can use it for free right now.
@apache937
@apache937 3 месяца назад
1.5 pro is going to be cheaper than1.0 pro
@catdevzsh
@catdevzsh 3 месяца назад
Mine made snake 😂
@vast634
@vast634 2 месяца назад
Gemini refuses to answer questions about code in C++ that it deems unsafe - like copying memory fast, or refused to provide code examples when the user is underage.
@metatron3942
@metatron3942 3 месяца назад
Is this available yet? When will they release it to the general public because I don't want to pay for the Pro until this is available because this seems useful. Unlike most of the other stuff Google makes.
@philadams9254
@philadams9254 3 месяца назад
I don't think it is. I just tried to repeat these steps and got a laughable lack of results. It says it can't even write much code for me too, which is odd?!
@abdelkaioumbouaicha
@abdelkaioumbouaicha 3 месяца назад
Summary of Key Points: 📌 The video explores the use of Gemini 1.5 Pro for various tasks related to coding, focusing on analyzing the Crew AI repository to generate examples based on the code. 🧐 Gemini 1.5 Pro was used to set up a scenario where a simple bot with two agents, a customer and a salesperson, interacted to discuss air conditioner upgrades, showcasing the capabilities of the AI framework. 🚀 The video demonstrates the transition from using OpenAI to Gemini Pro for language model generation, highlighting the differences in outputs and the need for specific package installations. Additional Insights and Observations: 💬 The AI-generated code showcased the ability to create dialogues between agents, handle tasks, and provide outputs based on the given scenarios. 📊 The video emphasizes the potential of AI tools like Gemini Pro in understanding and analyzing codebases, predicting future improvements in such technologies. Concluding Remarks: The video illustrates the practical applications of Gemini 1.5 Pro in coding tasks, showcasing its ability to generate code, handle scenarios, and potentially enhance codebase understanding. The transition from OpenAI to Gemini Pro demonstrates the evolving landscape of AI tools in the coding domain. Generated using TalkBud
@LatishaEvans-pi3qm
@LatishaEvans-pi3qm 3 месяца назад
❤🎉
@LatishaEvans-pi3qm
@LatishaEvans-pi3qm 3 месяца назад
0:00
@clray123
@clray123 3 месяца назад
"As a top-performing salesperson with an extensive knowledge of..." is certainly what a top-performing salesperson (trained by OpenAI) would say.
@jopansmark
@jopansmark 3 месяца назад
Openai is over
@samwitteveenai
@samwitteveenai 3 месяца назад
Not just yet, they have some nice models coming as well.
@The_Cali_Dude_88
@The_Cali_Dude_88 2 месяца назад
This 'program' is still broken. When you can ask it questions without going PC on you and telling you it cant do this yet because Im still learning is BS... stop charging until you (fix) this shit!
@user-mm1vw4vf1y
@user-mm1vw4vf1y 3 месяца назад
chatgpt 4. i will stop pay them now
Далее
Mistral Large with Function Calling - Review and Code
26:37
JavaScript Promises  -- Tutorial for Beginners
37:05
Просмотров 105 тыс.
МОЩЩЩНОСТЬ ZEEKR 001 FR
00:46
Просмотров 1,1 млн
ДЕТСКИЙ ТАРИФ В ТАКСИ
00:18
Просмотров 46 тыс.
How I Made AI Assistants Do My Work For Me: CrewAI
19:21
The Gemini API: From prototype to production
44:36
Просмотров 7 тыс.
Anthropic's Meta Prompt: A Must-try!
12:34
Просмотров 85 тыс.
DeepMind Gemini 1.5 - An AI That Remembers!
8:34
Просмотров 139 тыс.
Pratik Cat6 kablo soyma
0:15
Просмотров 8 млн