Development with Large Language Models Tutorial - OpenAI, Langchain, Agents, Chroma

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

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

  • @Luup.ai123
    @Luup.ai123 ปีที่แล้ว +124

    Hey everyone, Akshath here
    Had a great time making it this course and I hope you enjoy it
    🎊🎊

    • @sriramchundi3142
      @sriramchundi3142 ปีที่แล้ว +1

      Amazing video. Most simply explained video on the channel. Great work!!!

    • @KararaJawaab
      @KararaJawaab ปีที่แล้ว

      Thank you so much. God bless you.

    • @VictorRage
      @VictorRage ปีที่แล้ว

      thank you for dedicating your time to this course

    • @leandroblanmo
      @leandroblanmo ปีที่แล้ว

      That's such an amazing content, Akshath. Is there any suggestion on how to have a deeper understanding of each step we went through in this video? That's a totally new field for me. Can you share a roadmap to master this subject? I mean, if I study Machine Learning only, will I learn everything from this lesson in depth? Many thanks!

    • @AdeAulya
      @AdeAulya ปีที่แล้ว

      This is great. Thank you for this explanation. i'll try in google collab if i may.

  • @Bobcoolyoung
    @Bobcoolyoung ปีที่แล้ว +27

    This is exactly what I was waiting for.

  • @jeroenritmeijer7283
    @jeroenritmeijer7283 ปีที่แล้ว +23

    it appears that various libraries have moved on a bit since this was recorded. If you get errors during execution then make sure you replace 'message' with 'message.content' when passing that parameter into a function.

  • @AIWithShrey
    @AIWithShrey ปีที่แล้ว +12

    I'm unsure why we used Chatlit instead of Streamlit, but it works nonetheless. Something very fun to do is to upload your resume and ask the chatbot questions on it. I think this will help the hiring team of an organisation greatly, as it simplifies the job of reviewing resumes and understanding the applicant's abilities. So scaling the document QnA project will be tremendously valuable.

    • @Luup.ai123
      @Luup.ai123 ปีที่แล้ว +5

      hi yes,
      thats a fair point as streamlit is more popular. I wanted this series to emphasize giving people an understanding of LLMs and their capabilities so i just chose chainlit because it needed less code to work with lets us only worry about the use of LLMs and agents.

    • @DANNYEL20122
      @DANNYEL20122 ปีที่แล้ว

      @@Luup.ai123 hi please how can i run chainlit using google colab or jupyter notebook?

  • @FatchelPiresGuitar
    @FatchelPiresGuitar ปีที่แล้ว +6

    Amazing, guys! I'll love a similar video using opensource models!

  • @nithinbhandari3075
    @nithinbhandari3075 ปีที่แล้ว +11

    Completed this video.
    Learned chainlit, document q and a by basics of chromadb (most favorite part), basics of vector db, langchain, agents etc.
    It was nice.
    The second hour was more interesting.
    (As first hour was basic stuff that many people may knows).

  • @Alice8000
    @Alice8000 ปีที่แล้ว +1

    This is exactly what I was waiting for. Before anyone else.

  • @mayankkumawat6077
    @mayankkumawat6077 ปีที่แล้ว +2

    My Godddd, the ability to have custom tools for the agent changes everything, so theoretically (I bet, we are going to see some implementations of these pretty soon), we can do everything using natural language, what a time to be alive

  • @markceraldi8719
    @markceraldi8719 ปีที่แล้ว +5

    QUESTION: at VERY end of video, the custom tool multiplier decided to return "12" even when the delegated python function had hard-cod overrided to divide "/" instead of "*". The system internally experiences cognitive dissonance "thoughts" -- including the correct answer - then resolves by returning an unqualified 12 due to all the prevailing context suggesting that was the intention, eg some "common sense". I would love to know more about that clash like if there is a term for it. Also this was the most mind expanding tutorial ive ever seen in my life.

  • @tjhorton
    @tjhorton ปีที่แล้ว +3

    Correction: Think of parameters as WEIGHTS (between neurons) not as NEURONS.

  • @LordPBA
    @LordPBA 8 หลายเดือนก่อน +2

    19:15 why there is a cat walking on the screen?

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

      Exactly i talk about it 😂😂

  • @rewanthnayak2972
    @rewanthnayak2972 ปีที่แล้ว

    Thank you for answering my request so quickly

  • @MariodeFelipe
    @MariodeFelipe 11 หลายเดือนก่อน

    Good content and fantastic explanation 🎉

  • @navturn
    @navturn ปีที่แล้ว

    Amazing man, I am hooked !

  • @som4971
    @som4971 ปีที่แล้ว

    finally i can understand LLMs
    thanks fcc

  • @CID123-p5t
    @CID123-p5t ปีที่แล้ว +1

    Very Informative one

  • @csowm5je
    @csowm5je ปีที่แล้ว

    Thanks for tutorial. All developers moved to mac? 1:25 windows machine errno13 permission denied. got it to work with wsl.

  • @peeturpain9379
    @peeturpain9379 ปีที่แล้ว +5

    Thank you for this. I have been assigned a project at our company for document QnA with LLMs and this is exactly what I wanted. Please upload follow up courses as well such as for prompt engineering.

    • @letssee6813
      @letssee6813 ปีที่แล้ว

      Hii @peeturpain9379. i have some doubts regarding your llm project.

    • @peeturpain9379
      @peeturpain9379 ปีที่แล้ว

      @@letssee6813 what do you mean?

    • @Yogic-ignition
      @Yogic-ignition ปีที่แล้ว

      HI i would love to talk about this, even i have a similar project going on

    • @peeturpain9379
      @peeturpain9379 ปีที่แล้ว

      @@Yogic-ignition sure, lets get in touch

  • @Galmion
    @Galmion ปีที่แล้ว +5

    when the trainer includes the API key in the main file lmao

  • @krox477
    @krox477 ปีที่แล้ว

    Wow we already started using LLMs

  • @louisejin792
    @louisejin792 11 หลายเดือนก่อน

    very very helpful ,tks

  • @vibuvignesh7359
    @vibuvignesh7359 ปีที่แล้ว +3

    I am getting an error 13 permission denied error. How do I fix it?

  • @MetalurgicaDovat
    @MetalurgicaDovat ปีที่แล้ว +2

    hello everyone! PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Usuario\\AppData\\Local\\Temp\\tmpjf7ckm9u' can somone tell me how to fix this problem when i import the pdf to the app?! thanks!

    • @raphaelmarietan9322
      @raphaelmarietan9322 ปีที่แล้ว +10

      Replace `with tempfile.NamedTemporaryFile() as tempfile` with `with tempfile.NamedTemporaryFile(delete=False) as tempfile`, since you don't want the temporary processed file you create to be deleted once closed.

    • @Nicknocontext
      @Nicknocontext ปีที่แล้ว

      Thank you!@@raphaelmarietan9322

    • @ignition-ai
      @ignition-ai ปีที่แล้ว

      thank's, got same problem@@raphaelmarietan9322

    • @jpw2184
      @jpw2184 ปีที่แล้ว

      This should be pinned@@raphaelmarietan9322

  • @jaspreetsingh-in1lb
    @jaspreetsingh-in1lb 2 หลายเดือนก่อน

    I am getting error "'AskFileResponse' object has no attribute 'content'" , while uploading pdf file in chainlit user interface. How to reslove the issue?

  • @shivanshugautam1381
    @shivanshugautam1381 ปีที่แล้ว +1

    Hi, I am working with document QA project but I am bit confused about what will be the actual chunk size for better semantic search results. And I am using milvus to store my embeddings. I am having large pdfs.

    • @abdulrehmanbaber2104
      @abdulrehmanbaber2104 ปีที่แล้ว

      try different chunk sizes, they are made only because the context window of llms are short.

    • @Yogic-ignition
      @Yogic-ignition ปีที่แล้ว

      i am facing permission denied error after uploading the file. On the Temp folder. Any idea how to solve this

  • @邱彥彰-u5z
    @邱彥彰-u5z ปีที่แล้ว

    Amazing video!

  • @RedCloudServices
    @RedCloudServices ปีที่แล้ว

    thanks for the video lesson. the new OpenAI retrieval Assistant abstracts all of these steps so was wondering if Chainlit can be configured with the new Assistant API?

  • @abelgalindo1458
    @abelgalindo1458 ปีที่แล้ว

    Can someone provide a possible solution for this error? if match := _special_token_regex(disallowed_special).search(text):
    TypeError: expected string or buffer

    • @digitalthinkers7760
      @digitalthinkers7760 11 หลายเดือนก่อน

      Issue: 1st param type is expected to be string or buffer in acall function.
      Resolution: So, you need to update the param to message.content.
      res = await chain.acall(message.content, callbacks=[cb]).

  • @manh9105
    @manh9105 ปีที่แล้ว

    don't see GPT-4 option in the free version of playground model? has open ai team removed it ?

    • @Luup.ai123
      @Luup.ai123 ปีที่แล้ว

      I dont think GPT-4 is available to non premium users. Bit of an oversight on my part using it as it as chatgpt premium is definetly not necessary for this course. The API is available to non premium subscribers as well as it works on a standard per use pricing model.

  • @Robo-fg3pq
    @Robo-fg3pq ปีที่แล้ว

    When should we use langchain tools vs openai function calling?

  • @KennethMak
    @KennethMak ปีที่แล้ว

    From buildspace 👋

  • @powerball200
    @powerball200 ปีที่แล้ว

    Do i need to know any prior skills to learn langchain? Like what coding language, web dev etc?

  • @amalvijay8222
    @amalvijay8222 ปีที่แล้ว +1

    Rate limit exceeded for API key.. someone help me with this

    • @ilianos
      @ilianos ปีที่แล้ว

      If you've used gpt-4: there's a limit of requests per time allowed
      You can have a look into your settings when you log into your openai account. There you might have set a manual limit.

  • @Nicknocontext
    @Nicknocontext ปีที่แล้ว +1

    I keep getting the error No module named 'chromadb'

  • @akshayugale5785
    @akshayugale5785 ปีที่แล้ว

    Hi @Luup.ai123 , Nice vide. Can you also make a video on RLHF or share some resource on it ? Like how to introduce this concept to your model.

  • @AmelMeguellati-f1m
    @AmelMeguellati-f1m ปีที่แล้ว

    can you help me for i build simulink model for this Dataset "Activity Human by smartphone"

  • @yaroslav8717
    @yaroslav8717 ปีที่แล้ว

    Does it still make sense to go through his video after Assistants API release?

    • @AB-kq9xm
      @AB-kq9xm 10 หลายเดือนก่อน

      no

  • @Ruthrap-dm1ki
    @Ruthrap-dm1ki 7 หลายเดือนก่อน

    this coding not support for windows is it?? if any another alternative code is available , let me know

  • @manh9105
    @manh9105 ปีที่แล้ว

    few questions Akshat. Who owns the data trained by us. If its Open AI ? aren't we making it more powerful basically like a Frankenstein

    • @kingslyroche
      @kingslyroche ปีที่แล้ว

      API and Playground requests will not be used to train our models.

    • @Luup.ai123
      @Luup.ai123 ปีที่แล้ว +2

      Hi, Akshath here.
      We dont specifically "train" it, we just do a retreival augmented search so technically chroma db is where all of this information is stored. Given that chroma is open source and the python package runs on our machinne locally, noone has access to the embeddings but us. Additionally OpenAI claims that it doesn't use any of our data to train their models. big emphasis on the word "claims".

  • @bonkers_dave
    @bonkers_dave ปีที่แล้ว

    immediately stuck at playground UI, which does not look anything like the video, and coming into this cold, I have to go find some other resource or training to understand the playground UI.

    • @yaroslav8717
      @yaroslav8717 ปีที่แล้ว

      just change to Chat from Assistants next to Playground logo

  • @41cata
    @41cata ปีที่แล้ว +1

    Does anyone have similar videos that use C++ or a different language instead?

    • @MMABeijing
      @MMABeijing ปีที่แล้ว

      python is easier than C++ ( a language that is not used in data science or AI). why would you need C++, if I may ask?

    • @Abraham_writes_random_code
      @Abraham_writes_random_code ปีที่แล้ว

      @@MMABeijing python may be easier than C++ to pick up but it is used in AI too. Especially for faster computations, ie: things like Pytorch and other Cuda directives have code in c++ not just in c as in the case of CPython etc etc.
      But yes not many people here will be using anything other than Python because of the ease of implementation

    • @MMABeijing
      @MMABeijing ปีที่แล้ว +1

      @@Abraham_writes_random_code First I want to say that there is a C++ library to interact with Openai. Second: although I know the advantages of CPP, or rust, I am curious as to why @Majesticaln would want to use them to interact with OpenAi "infrastructure". There are fields where web assembly deemed mission critical, and considering that RUst actually has the tighest integration with WASM it makes sense to use it... but what is the use case that would motivate Majestic to want to talk with OpenAI using CPP? Python has a richer community, more help available, and langchain is using it too. It s clear to me that we are at a stage when the speed of integration is crucial, and for that reason I thing going along with python is the way to go. That being said I am interested in hearing other, possibly conflicting, opinions

  • @WHAT-gm1xm
    @WHAT-gm1xm ปีที่แล้ว +1

    Learning hacking course actually can hack anything in technical field

  • @wilonweb
    @wilonweb ปีที่แล้ว

    We have to get a GPT4 prenium account to do that ?

  • @shubhrai3027
    @shubhrai3027 ปีที่แล้ว

    can someone tell me if there's any free alternative of the OpenAi API ?......bcoz no GPT 4...and even GPT-3 is limited time , credit ....please.....thanks

  • @conradcaldeira7131
    @conradcaldeira7131 ปีที่แล้ว

    heyyy there, have always enjoyed your vids......could you provide a tutorial for creating a LLM from scratch on windows without GPU

  • @Mr.Wowywow
    @Mr.Wowywow ปีที่แล้ว

    Are we supposed to buy or pay credits for access to chatgpt playground?

  • @muhammadaamir321
    @muhammadaamir321 ปีที่แล้ว

    Kindly upload prompt engineering course

  • @SYEDHASSANASLAMBE-CSE
    @SYEDHASSANASLAMBE-CSE ปีที่แล้ว

    Sir please post about tts model vedio

  • @c_54_spoorthi21
    @c_54_spoorthi21 ปีที่แล้ว

    can you make a tutorial to do the same with llama 2 model

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

    Do we need a chat gpt paid subscription to follow this tutorial?

  • @kamalkamals
    @kamalkamals ปีที่แล้ว

    Hope to make the same with langchain js not just langchain python

    • @wilonweb
      @wilonweb ปีที่แล้ว

      You do that ?

  • @bidhanchandrosana
    @bidhanchandrosana ปีที่แล้ว

    Good

  • @KGnanaVarshita
    @KGnanaVarshita ปีที่แล้ว

    Do we need chat gpt subscription to complete this tutorial

    • @Luup.ai123
      @Luup.ai123 ปีที่แล้ว

      nope, you only need an api key

  • @furkantyagi3261
    @furkantyagi3261 ปีที่แล้ว

    please made a video on tekla structure

  • @ClementMarie-h6x
    @ClementMarie-h6x ปีที่แล้ว

    1:41:27

  • @midprogramming
    @midprogramming ปีที่แล้ว

    Is there any reason why you used assistant over system when giving a personality?

  • @duongital
    @duongital ปีที่แล้ว

    sorry for not relating much to the topic, what is the chrome extension for pets running?

  • @41cata
    @41cata ปีที่แล้ว +2

    day1 - 34:44
    day2 -

  • @falcongold2024
    @falcongold2024 ปีที่แล้ว

    18:30

  • @agastyareddy5489
    @agastyareddy5489 ปีที่แล้ว

    Ily

  • @Randomguy48279xyz
    @Randomguy48279xyz ปีที่แล้ว

    👍

  • @donelkingii3738
    @donelkingii3738 ปีที่แล้ว

    Can you make it without the ethical blockers? Tired of the "That us illegal" blah blah etc.

  • @yaroslav8717
    @yaroslav8717 ปีที่แล้ว

    Hard to follow the course, and not really a detailed explanation. But anyway thank you!

  • @NarutoHugsMikasa
    @NarutoHugsMikasa ปีที่แล้ว +2

    First !

  • @shreyasaravanan7720
    @shreyasaravanan7720 11 หลายเดือนก่อน

    100th comment

  • @NANINHOMALLA
    @NANINHOMALLA ปีที่แล้ว

    1st 😅

  • @entertainmentarc6466
    @entertainmentarc6466 ปีที่แล้ว

    Pappu , pedda pappu, panikiraani pappu

  • @MyrLin8
    @MyrLin8 10 หลายเดือนก่อน

    Aligning with human values ... not.

  • @arsagor8506
    @arsagor8506 ปีที่แล้ว

    First comment plz pin

  • @_MrCode
    @_MrCode ปีที่แล้ว

    These are very basics, and only 10 minute of content, but this guy takes 2 hours for extra talking, the main part of chatbot is multi-user conversation ability, which he didn't discussed even.

  • @gainmuscle
    @gainmuscle ปีที่แล้ว

    javascript version anytime soon?