Gemini 1.5 Pro for Code - Part 01

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024

ความคิดเห็น • 77

  • @samwitteveenai
    @samwitteveenai  7 หลายเดือนก่อน +29

    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 7 หลายเดือนก่อน +2

      Can you use AutoGPT, SuperAGI, GPT Pilot or GPT Engineer

    • @WatchNoah
      @WatchNoah 7 หลายเดือนก่อน +4

      I think you should put the temperature down. temperature=2 seems quite a lot for coding tasks

    • @StevenSSmith
      @StevenSSmith 7 หลายเดือนก่อน +5

      ​@@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 7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

      It shouldnt be an AI-related repo, because otherwise most people cant check if Gemini is answering correctly

  • @kate-pt2ny
    @kate-pt2ny 7 หลายเดือนก่อน +4

    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.

  • @reza2kn
    @reza2kn 7 หลายเดือนก่อน +1

    MARVELOUS PRESENTATION! I really, really appreciate that you make sure it's easy for people to follow what you're doing. I think many TH-camrs 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  7 หลายเดือนก่อน +1

      Was just about to shoot a thumbnail with my mouth open and you have saved me. Thank you!!

    • @EDashMan
      @EDashMan 6 หลายเดือนก่อน

      Hahah. Can you please try generate a full stack app asking it to provide the front end in next.js the react framework?

  • @sagarsrinivas5418
    @sagarsrinivas5418 7 หลายเดือนก่อน

    Keep Going!.

  • @aibeginnertutorials
    @aibeginnertutorials 7 หลายเดือนก่อน +1

    Awesome video. Thank you! Can you share the Notebooks code to test. Thanks

    • @samwitteveenai
      @samwitteveenai  7 หลายเดือนก่อน +3

      Sure here you go colab.research.google.com/drive/1VACRSn9LqbFcJlPe4qtryNY_3Jl4ssqS?usp=sharing

    • @aibeginnertutorials
      @aibeginnertutorials 7 หลายเดือนก่อน

      Your amazing. Thank you @@samwitteveenai

  • @PavelSTL
    @PavelSTL 5 หลายเดือนก่อน

    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  5 หลายเดือนก่อน

      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 5 หลายเดือนก่อน

      @@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 !

  • @abdulbasitnisar
    @abdulbasitnisar 7 หลายเดือนก่อน

    Where can we access Gemini 1.5?

  • @The_Cali_Dude_88
    @The_Cali_Dude_88 6 หลายเดือนก่อน

    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!

  • @boqsc0
    @boqsc0 7 หลายเดือนก่อน +6

    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!

  • @micbab-vg2mu
    @micbab-vg2mu 7 หลายเดือนก่อน +7

    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:)

  • @Algoritmik
    @Algoritmik 4 หลายเดือนก่อน

    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 7 หลายเดือนก่อน +1

    How can reg Gemini 1,5. I still 1.0

  • @Novacasa88
    @Novacasa88 7 หลายเดือนก่อน +1

    I'm confused you said this is Gemini 1.0 in the video versus the title?

  • @mobilephone2672
    @mobilephone2672 7 หลายเดือนก่อน +2

    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

  • @frricbc4442
    @frricbc4442 7 หลายเดือนก่อน +2

    Can you provide the colab note book pls?

    • @samwitteveenai
      @samwitteveenai  7 หลายเดือนก่อน

      Sure here you go colab.research.google.com/drive/1VACRSn9LqbFcJlPe4qtryNY_3Jl4ssqS?usp=sharing

  • @deeplearning7097
    @deeplearning7097 7 หลายเดือนก่อน +1

    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.

  • @zoombapup
    @zoombapup 7 หลายเดือนก่อน +1

    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 7 หลายเดือนก่อน +2

      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?

  • @SamarthGupta-gj8dc
    @SamarthGupta-gj8dc 7 หลายเดือนก่อน +1

    How to get access to Gemini 1.5 pro? I only see gemini Pro in my account.

    • @lmcst2821
      @lmcst2821 6 หลายเดือนก่อน

      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.

  • @philipsoerensen
    @philipsoerensen 7 หลายเดือนก่อน +1

    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  7 หลายเดือนก่อน +1

      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 7 หลายเดือนก่อน

      @@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. 🙌

  • @clray123
    @clray123 7 หลายเดือนก่อน +2

    Maybe you should mention that Google AI Studio is still unavailable in EU.

    • @samwitteveenai
      @samwitteveenai  7 หลายเดือนก่อน +2

      have you tried a VPN? for AI Studio?

    • @cybertruck2008
      @cybertruck2008 7 หลายเดือนก่อน

      YOu can use it by VPN, i just got access by connecting to turkey

    • @samwitteveenai
      @samwitteveenai  7 หลายเดือนก่อน +1

      interesting to know.

    • @apache937
      @apache937 7 หลายเดือนก่อน

      but did you get 1.5 ?@@cybertruck2008

  • @vast634
    @vast634 6 หลายเดือนก่อน

    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.

  • @EricB1
    @EricB1 6 หลายเดือนก่อน

    Seems we cannot use Gemini Pro 1.5 in a program yet, only in their playground. 😰

  • @catsanzsh
    @catsanzsh 7 หลายเดือนก่อน

    Try making a bin Unix package from url 😂

  • @hqcart1
    @hqcart1 7 หลายเดือนก่อน

    does duckduckgo provide search api without api key?

    • @samwitteveenai
      @samwitteveenai  7 หลายเดือนก่อน

      yes with that package at least. Thats why I usually use that for the demos.

  • @P-G-77
    @P-G-77 7 หลายเดือนก่อน

    Very interesting...

  • @catsanzsh
    @catsanzsh 7 หลายเดือนก่อน

    Mine made snake 😂

  • @ankitnmnaik229
    @ankitnmnaik229 7 หลายเดือนก่อน +1

    Wow... impressive actually...
    Great video ...
    Keep pushing 1.5 pro.

  • @abdelkaioumbouaicha
    @abdelkaioumbouaicha 7 หลายเดือนก่อน +1

    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

  • @pawelszpyt1640
    @pawelszpyt1640 7 หลายเดือนก่อน +1

    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 7 หลายเดือนก่อน

      1.5 pro is going to be cheaper than1.0 pro

  • @jopansmark
    @jopansmark 7 หลายเดือนก่อน

    Openai is over

    • @samwitteveenai
      @samwitteveenai  7 หลายเดือนก่อน

      Not just yet, they have some nice models coming as well.

  • @clray123
    @clray123 7 หลายเดือนก่อน

    "As a top-performing salesperson with an extensive knowledge of..." is certainly what a top-performing salesperson (trained by OpenAI) would say.

  • @flv-hd7nn
    @flv-hd7nn 7 หลายเดือนก่อน

    which is better for coding and programming tasks gpt4 or gemini 1.5 ?

  • @metatron3942
    @metatron3942 7 หลายเดือนก่อน +1

    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 7 หลายเดือนก่อน

      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?!

  • @eeuno-v2r
    @eeuno-v2r 7 หลายเดือนก่อน

    chatgpt 4. i will stop pay them now