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

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 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.

  • @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?

  • @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).

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

  • @FatchelPiresGuitar
    @FatchelPiresGuitar Рік тому +6

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

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

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

  • @Alice8000
    @Alice8000 Рік тому +1

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

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

  • @navturn
    @navturn Рік тому

    Amazing man, I am hooked !

  • @MariodeFelipe
    @MariodeFelipe 11 місяців тому

    Good content and fantastic explanation 🎉

  • @rewanthnayak2972
    @rewanthnayak2972 Рік тому

    Thank you for answering my request so quickly

  • @LordPBA
    @LordPBA 9 місяців тому +2

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

    • @MusawarMehdi
      @MusawarMehdi 6 місяців тому

      Exactly i talk about it 😂😂

  • @som4971
    @som4971 Рік тому

    finally i can understand LLMs
    thanks fcc

  • @Galmion
    @Galmion Рік тому +5

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

  • @vibuvignesh7359
    @vibuvignesh7359 Рік тому +3

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

  • @csowm5je
    @csowm5je Рік тому

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

  • @CID123-p5t
    @CID123-p5t Рік тому +1

    Very Informative one

  • @krox477
    @krox477 Рік тому

    Wow we already started using LLMs

  • @alex127-u5z
    @alex127-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?

  • @louisejin792
    @louisejin792 Рік тому

    very very helpful ,tks

  • @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?

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

  • @KennethMak
    @KennethMak Рік тому

    From buildspace 👋

  • @Robo-fg3pq
    @Robo-fg3pq Рік тому

    When should we use langchain tools vs openai function calling?

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

  • @powerball200
    @powerball200 Рік тому

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

  • @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".

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

  • @Ruthrap-dm1ki
    @Ruthrap-dm1ki 7 місяців тому

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

  • @conradcaldeira7131
    @conradcaldeira7131 Рік тому

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

  • @wilonweb
    @wilonweb Рік тому

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

  • @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 Рік тому

      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.

  • @Mr.Wowywow
    @Mr.Wowywow Рік тому

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

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

  • @yaroslav8717
    @yaroslav8717 Рік тому

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

  • @AmelMeguellati-f1m
    @AmelMeguellati-f1m Рік тому

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

  • @ricardoandreom
    @ricardoandreom 8 місяців тому

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

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

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

  • @c_54_spoorthi21
    @c_54_spoorthi21 Рік тому

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

  • @WHAT-gm1xm
    @WHAT-gm1xm Рік тому +1

    Learning hacking course actually can hack anything in technical field

  • @SYEDHASSANASLAMBE-CSE
    @SYEDHASSANASLAMBE-CSE Рік тому

    Sir please post about tts model vedio

  • @KGnanaVarshita
    @KGnanaVarshita Рік тому

    Do we need chat gpt subscription to complete this tutorial

    • @Luup.ai123
      @Luup.ai123 Рік тому

      nope, you only need an api key

  • @bidhanchandrosana
    @bidhanchandrosana Рік тому

    Good

  • @muhammadaamir321
    @muhammadaamir321 Рік тому

    Kindly upload prompt engineering course

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

  • @Randomguy48279xyz
    @Randomguy48279xyz Рік тому

    👍

  • @ClementMarie-h6x
    @ClementMarie-h6x Рік тому

    1:41:27

  • @furkantyagi3261
    @furkantyagi3261 Рік тому

    please made a video on tekla structure

  • @midprogramming
    @midprogramming Рік тому

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

  • @41cata
    @41cata Рік тому +2

    day1 - 34:44
    day2 -

  • @kamalkamals
    @kamalkamals Рік тому

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

  • @duongital
    @duongital Рік тому

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

  • @agastyareddy5489
    @agastyareddy5489 Рік тому

    Ily

  • @falcongold2024
    @falcongold2024 Рік тому

    18:30

  • @NarutoHugsMikasa
    @NarutoHugsMikasa Рік тому +2

    First !

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

  • @NANINHOMALLA
    @NANINHOMALLA Рік тому

    1st 😅

  • @entertainmentarc6466
    @entertainmentarc6466 Рік тому

    Pappu , pedda pappu, panikiraani pappu

  • @shreyasaravanan7720
    @shreyasaravanan7720 Рік тому

    100th comment

  • @MyrLin8
    @MyrLin8 11 місяців тому

    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?