LLM Project | End to End LLM Project Using Langchain, OpenAI in Finance Domain

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ค. 2024
  • End-to-end LLM project for beginners and intermediate users using langchain. In this LLM project, we will use langchain, openai API, and streamlit to build a news research tool that can be used by equity research analysts to conduct their research. This end-to-end NLP project will give you a good experience in building a real-life industry project that will add a lot of value to your data scientist or NLP engineer project portfolio.
    Code: github.com/codebasics/langcha...
    Langchain playlist: • LangChain Tutorials Pl...
    Timestamps:
    00:00 Introduction
    01:20 Problem statement, tech architecture
    13:45 Loaders (TextLoader, UnstructuredURLLoader)
    21:31 Text Splitters (CharacterTextSplitter, RecursiveCharacterTextSplitter)
    33:30 FAISS Index and Vector database
    44:52 Retrieval (RetrievalQAWithSourcesChain)
    56:49 Streamlit UI and Project Coding
    Do you want to learn technology from me? Check codebasics.io/?... for my affordable video courses.
    Need help building software or data analytics/AI solutions? My company www.atliq.com/ can help. Click on the Contact button on that website.
    🎥 Codebasics Hindi channel: / @codebasicshindi
    #️⃣ Social Media #️⃣
    🧑‍🤝‍🧑 Discord for Community Support: / discord
    📸 Codebasics' Instagram: / codebasicshub
    📝 Codebasics' Linkedin : / codebasics
    ------
    📝 Dhaval's Linkedin : / dhavalsays
    📝 Hem's Linkedin: / hemvad
    📽️ Hem's Instagram for daily tips: / hemvadivel
    📸 Dhaval's Personal Instagram: / dhavalsays
    🔗 Patreon: www.patreon.com/codebasics?fa...

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

  • @codebasics
    @codebasics  9 หลายเดือนก่อน +10

    Check codebasics.io/ for intuitive, affordable tech courses taught by me.

    • @shaonsikder556
      @shaonsikder556 9 หลายเดือนก่อน +1

      I am always grateful to you. You are the my only teacher who teaches me basics of data science properly. Now with this LLM. langchain. You have superpower to explain everything in very easy way for a dumb student like me. I couldn't be a data scientist and fulfill my dream if you weren't there. Thanks for everything, please do continue this kinda projects for each domain🙏🙏🙏🙏💝💝💝

    • @chinnibngrm272
      @chinnibngrm272 8 หลายเดือนก่อน

      Did you tried this Rockybot
      I am facing one error please help me to solve it
      list index out of range
      index = faiss.IndexFlatL2(len(embeddings[0]))
      @@shaonsikder556

    • @fusionxfitness_
      @fusionxfitness_ 2 หลายเดือนก่อน

      please resolve the index 0 issue

    • @kishanhajari9231
      @kishanhajari9231 2 หลายเดือนก่อน

      can I use Gemini API key instead of Open AI?

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

      How model will work when 5 different users are providing different url to model simultaneously?

  • @mrudular348
    @mrudular348 8 หลายเดือนก่อน +10

    This is the best tutorial I have watched on LLM. Crisp, yet detailed. Thank you!

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

    An end to end langchain project cannot be more clearer and perfect than this one !

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

    It's just a perfect combination of depth and width!! Thank you so much!!

  • @arpitak20
    @arpitak20 19 วันที่ผ่านมา +1

    One of the best courses on TH-cam to learn GenAI. Thanks a lot for this

  • @codebasics
    @codebasics  8 หลายเดือนก่อน +9

    If anyone is facing list index out of range error then here is an open github issue: github.com/langchain-ai/chat-langchain/issues/68
    Using a different version of langchain may help.

    • @meetulagrawal6498
      @meetulagrawal6498 2 หลายเดือนก่อน

      I tried 3 different versions but it did not work, on which version it might work?

  • @vinamradutt4623
    @vinamradutt4623 6 หลายเดือนก่อน +3

    Thanks a lot, I'm so happy that I came accross this video. Best tutorial.

  • @d25102
    @d25102 9 หลายเดือนก่อน

    i was working on a langchain project myself! perfect timing!

  • @ashishmalhotra2230
    @ashishmalhotra2230 3 หลายเดือนก่อน +1

    I like the way you explain the business scenario and toolset required to implement the solution in the PoC and Production phases.

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

    Thank you! your trainings were always great and this one is even greater!

  • @sujithsaikalakonda4863
    @sujithsaikalakonda4863 9 หลายเดือนก่อน +3

    Thank you sir for this wonderful tutorial, which made me understand about the end to end LLM project in a simple way. Great work.

  • @AliKibao
    @AliKibao 9 หลายเดือนก่อน +2

    Absolute best explanations. To class. Thank you.

  • @user-tx2mv8ik7i
    @user-tx2mv8ik7i 5 หลายเดือนก่อน

    Thank you so much for this wonderful tutorial, really helps me in implementing a POC in my company

  • @user-ur4un3lb3i
    @user-ur4un3lb3i 3 หลายเดือนก่อน

    Best thing I love about this guy is, he let the audience feel the problem, so that when he is doing this he will be clear that I am solving this problem this should be the approach, love u man for all the content u make

  • @shaktisingh8217
    @shaktisingh8217 27 วันที่ผ่านมา

    Another excellent learning video! You explained the end-to-end LangChain application workflow very nicely. Thanks!

  • @roshanmaharana
    @roshanmaharana 9 หลายเดือนก่อน +63

    Coding... Coding... Coding... I don't like it! I avoid! But! Coding likes me! I can't avoid!

    • @codebasics
      @codebasics  9 หลายเดือนก่อน +17

      🤣🤣😜

    • @harshpandey7970
      @harshpandey7970 9 หลายเดือนก่อน +1

      😂😂

  • @aishu2623
    @aishu2623 9 หลายเดือนก่อน

    Waiting for this series!!
    Thank you

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

    The best one so far! Amazing

  • @frank.nelson
    @frank.nelson 9 หลายเดือนก่อน +21

    Found a lot of stuff on Langchain on TH-cam. But no one went this deep with individual langchain concepts as you did. A lot of confusing topics got cleared today. THANKS FOR THIS. ❤

    • @codebasics
      @codebasics  9 หลายเดือนก่อน +3

      Glad you enjoyed it!

    • @chinnibngrm272
      @chinnibngrm272 8 หลายเดือนก่อน

      sir please help me to solve this error
      list index out of range
      index = faiss.IndexFlatL2(len(embeddings[0]))@@codebasics

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

    Thanks this explains the concepts really well and brings them to life.

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

    what more simple explanation could be possible than this. Awesome explanation and project concept.

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

    Amazing videos in the playlist! Thank you for your hard work!

  • @richardnwachukwu7664
    @richardnwachukwu7664 9 หลายเดือนก่อน +1

    Nice eee jumping in this weekend thank you

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

    you are awesome teacher, I rarely post comments below yt movies.. you just have explained it in very easy and understable way.. ;-) well done

  • @user-td1ro3lp4o
    @user-td1ro3lp4o 7 หลายเดือนก่อน

    this is a movie or theory well explained and a powerful content thanks for this need more...

  • @chinnibngrm272
    @chinnibngrm272 8 หลายเดือนก่อน

    The Best best best video on langchain+llm in youtube Thank you sir for wonderful content.
    Please upload the videos on how to finetune our own data and some more real world usecases like this video .............😇😇😇😇

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

    Thank you so much Dhruw for this wonderful explanation :)

  • @izzardsinteresting7604
    @izzardsinteresting7604 9 หลายเดือนก่อน

    Keep rocking with your content ❤

  • @deepankarsharma7840
    @deepankarsharma7840 9 หลายเดือนก่อน

    Literally had this same project last month in my organisation

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

    super useful thank you so much. you are great tutor expecting more videos like this

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

    such a nice explanation sir. well understood. got an idea for my project work ,thank you sir .

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

    Very good tutorial.Thanks for all the effort.

  • @DataFunAnalyticaltricks
    @DataFunAnalyticaltricks 2 หลายเดือนก่อน

    Great Explaination Thank you so much !

  • @787ankur
    @787ankur 2 หลายเดือนก่อน

    thank you so much sir. The project and explanation were very helpful

  • @shalabhchaturvedi6290
    @shalabhchaturvedi6290 3 หลายเดือนก่อน

    Thank you!. very much useful.

  • @bash98ar
    @bash98ar 3 หลายเดือนก่อน

    Thank you very much. its great.

  • @gazart8557
    @gazart8557 9 หลายเดือนก่อน

    Woow..my new hero Peter Pandey

  • @lisagirard4504
    @lisagirard4504 9 หลายเดือนก่อน +2

    This was an awesome overview! Thank you for all the work put into it!😍

    • @codebasics
      @codebasics  9 หลายเดือนก่อน

      Glad you enjoyed it Lisa!

  • @filipemagalhaes8761
    @filipemagalhaes8761 9 หลายเดือนก่อน

    Thank you for this!

  • @alokkumar-ep9yr
    @alokkumar-ep9yr 8 หลายเดือนก่อน

    Sir you are great learnt a lot!!!

  • @venkatchakravarthi
    @venkatchakravarthi 9 หลายเดือนก่อน

    Waiting for this series.

  • @harsh2014
    @harsh2014 3 หลายเดือนก่อน

    Thanks for this nice tutorial !

  • @multyminds7938
    @multyminds7938 9 หลายเดือนก่อน

    Thank you 👍

  • @mayurpatilprince2936
    @mayurpatilprince2936 8 หลายเดือนก่อน

    Amazing .... Would help us a lot ! Thank you :)

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

    Rocky bhai made me watch the whole video😂 good job

  • @kunalmehta4051
    @kunalmehta4051 2 หลายเดือนก่อน

    fantastic work

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

    You are the best!

  • @learnwithfun.
    @learnwithfun. 9 หลายเดือนก่อน +1

    hello sir the content is awesome and I will recommend it to my friends for sure.If possible it would be still more helpful if you can explain the conversion of table data into the contextual data in further vedio.

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

    Great video Dhaval👍

  • @souravbarua3991
    @souravbarua3991 9 หลายเดือนก่อน

    Awesome project tutorial. Thank you. Learned a lot and will use in my projects. 🙏🙏🙏🙏

    • @codebasics
      @codebasics  9 หลายเดือนก่อน

      Glad it was helpful!

    • @chinnibngrm272
      @chinnibngrm272 8 หลายเดือนก่อน

      sir please help me to solve this error
      list index out of range
      index = faiss.IndexFlatL2(len(embeddings[0]))@@codebasics

    • @chinnibngrm272
      @chinnibngrm272 8 หลายเดือนก่อน

      sir please help me to solve this error
      index = faiss.IndexFlatL2(len(embeddings[0]))

    • @souravbarua3991
      @souravbarua3991 8 หลายเดือนก่อน

      ​@@codebasicsI have used this technique with open source llm and completed a project of chat with local pdf files. For a lack of resources I can't able to build UI for that.i already posted this project documentation in my LinkedIn profile.

  • @tusharbedse9523
    @tusharbedse9523 9 หลายเดือนก่อน +3

    Amazing video Dhaval!!! Do you have MLOps playlist please share, if not could you please think about creating it using mlflow or zenml because i like the way you teach. Thanks!

  • @statisticsmanagement522
    @statisticsmanagement522 9 หลายเดือนก่อน

    Good evening respected sir

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

    happy to see Rocky bhai reference :)

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

    Great video !!!

  • @sapnatare
    @sapnatare 2 วันที่ผ่านมา

    Awesome

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

    Sir too good...

  • @ontheroadswithvikas
    @ontheroadswithvikas 2 ชั่วโมงที่ผ่านมา

    Awesome bro..

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

    You are awesome.

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

    great video! could you please do a video on how to set up our jupyter environment?

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

    Thank you. I have a question why not use a news API to retrieve article and company topics that individual urls?

  • @RakeshA-eq3dw
    @RakeshA-eq3dw 9 หลายเดือนก่อน +2

    Rocky boi hehe

  • @panhtran8384
    @panhtran8384 8 หลายเดือนก่อน

    thank you very much 😍. Can you post the slide, it's very helpful

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

    Please do a video on LlanGraph...you will do it better than others for sure.

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

    I am a beginner to this langchain, LLM world. Just wanted to understand in this example how is the PROMPT to the LLM being created - is it automatic? we are providing the query in the form of streamlit UI input & context in the form of retrieved chunks from vector DB this I understood.

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

    Should have invested in Nvidia 5 months before to double the amount, Bro give the best financial advice 😜

  • @somalishant
    @somalishant 9 หลายเดือนก่อน

    I am working on same project

  • @Vedhar2104
    @Vedhar2104 9 หลายเดือนก่อน +1

    To learn llm what is prerequisites... please clearly mention
    Is machine learning /deep learning required? @codebasics

  • @RishabhSharma_the_vlogger
    @RishabhSharma_the_vlogger 8 หลายเดือนก่อน

    It looks like a great project but I have some doubts on how the Vector is working, and fetching the correct results. I am tryingto understand and also have gone through the video again... can someone help me understand the reason as how converting the corpus to vector can help us find topics. I guess if I understand this, a project on Topic modeling will be easier

  • @shivampranjale7653
    @shivampranjale7653 4 หลายเดือนก่อน +3

    Getting an error:
    module 'magic' has no attribute 'from_buffer'
    tried multiple fixes, but unable to resolve.

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

    Lets assume there is a cron job resding the urls. After a few days will the vector database has huge size? I have requirement where i want to read some documents(PDFs/docx) and get same data from each of it, answer a few questions. Do i need a vector db here? If so doesn't the size grow?

  • @Yogic-ignition
    @Yogic-ignition 8 หลายเดือนก่อน

    Great helped a lot. But if i want a source link of the document which i have in my knowledge base (vector database) how would i be able to do that?

  • @naveenreddynarala1700
    @naveenreddynarala1700 2 หลายเดือนก่อน

    Thanks a lot, Could you please create LLM builder on structured data.

  • @erwangilloisrenon6315
    @erwangilloisrenon6315 9 หลายเดือนก่อน

    Just a thought is or unniverse is quantified .
    If we want to make a simulation what tokens numberwould be the max.

  • @saiprameela8666
    @saiprameela8666 9 หลายเดือนก่อน

    Sir please make a Data analysis project which dashboards are designed by AI.

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

    Hello, Thank you for the video. I have a Question. Is there a technical way to measure the validity of responses?

  • @DataDude-oi7si
    @DataDude-oi7si 7 หลายเดือนก่อน

    Can we use scrapping and automation libraries like Selenium and beautifulsoup for long term project???

  • @athiagarajan
    @athiagarajan 5 หลายเดือนก่อน +1

    can we use other llms other than open ai - if so how
    - also can you show how this is done on sagemaker

  • @EverydayEssence247
    @EverydayEssence247 9 หลายเดือนก่อน

    Sir can u make a session on making a chatbot like chatgpt that answer all the queries based on the info that we pass to it as pdfs

  • @aishu2623
    @aishu2623 9 หลายเดือนก่อน +1

    Sir this is really superb!! Can u plz generate high end machine learning real life projects with data cleaning preprocessing and modelling and end it with a web application.......it would be a very great help as being a student...

    • @alphar85
      @alphar85 9 หลายเดือนก่อน +1

      I think he has done it already. Potatoe disease project.

    • @aishu2623
      @aishu2623 9 หลายเดือนก่อน

      @@alphar85 that comes under Deep learning for my 5th sem project I have done that

    • @aishu2623
      @aishu2623 9 หลายเดือนก่อน

      @@alphar85 and moreover no data cleaning process is involved in potato disease classification. And plz respect it is sir not him.
      Thank u

    • @alphar85
      @alphar85 9 หลายเดือนก่อน

      @@aishu2623 ok sorry i thought you just wanted an end to end project.

    • @alphar85
      @alphar85 9 หลายเดือนก่อน +1

      @@aishu2623 data cleansing is subject yo project. His data cleansing will most probably be different to your project esp if you are customising it. Otherwise if you are just copying and pasting then it is a different matter. Best of luck

  • @priyanshudubey2245
    @priyanshudubey2245 9 หลายเดือนก่อน

    Please make a project video using transformer.

  • @user-xv1ez9pd9l
    @user-xv1ez9pd9l 4 หลายเดือนก่อน

    why did you not do Vector Embedding in the project? You did it in the Interstellar Text.

  • @ravitrivedi4208
    @ravitrivedi4208 9 หลายเดือนก่อน +4

    Hi Dhaval - do you think streamlit has a future potential to implement a quick dashboard app at corporate level and get rid of tedious frontend coding ?

  • @user-qp1vs8tc5q
    @user-qp1vs8tc5q 5 หลายเดือนก่อน

    hello sir,
    I was confused how can i create selenium test cases of a web application using langchain
    can i directly import the selenium documentation and expect the ai to create the test case(for example: a button functionality).

  • @FirstNameLastName-fv4eu
    @FirstNameLastName-fv4eu 6 หลายเดือนก่อน +1

    This is the biggest challenge of AI - 99% of the AI TH-cam stars are inventing something which has already been solved 15 yrs back.

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

    Could you please share the ppt through which you were explaining for future reference and study purpose

  • @user-ni9zc4kv1d
    @user-ni9zc4kv1d 2 หลายเดือนก่อน

    @codebasics sir when i am running this model in my localhost after spillting step it is showing index out of range

  • @user-um5eo7xk3c
    @user-um5eo7xk3c 5 หลายเดือนก่อน

    Why didnt we use SentenceTransformer and FAISS in the final project ?

  • @user-ll8kz2sy5e
    @user-ll8kz2sy5e 4 หลายเดือนก่อน

    As money control url have neft or stock data can this give answer of that?

  • @user-du4kl4by3y
    @user-du4kl4by3y 5 หลายเดือนก่อน

    can you suggest an open source embedding instead of openAI embedding, that works fine for this project?
    I used bert and glove, and received nothing but endless errors

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

    Sir a question now the chatbot can answer only the questions from those only 2 links ?

  • @RahulPrajapati-jg4dg
    @RahulPrajapati-jg4dg 9 หลายเดือนก่อน

    Can you implements such project like sentiment and question answering, NER end to end using openai and langchain

  • @dineshkumarm-rz5yd
    @dineshkumarm-rz5yd 9 หลายเดือนก่อน

    Do we need to buy openai tokens inorder to carryout this project???

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

  • @mrsecretstatus9999
    @mrsecretstatus9999 3 หลายเดือนก่อน

    What are pre requisites, I have done python and library like numpy and pandas can I do this or I need to learn some thing first

  • @RobertoFabrizi
    @RobertoFabrizi 6 หลายเดือนก่อน +1

    Is it possible to "replace" the urls with github repositories of code or documentation? I'd also be important to keep the source metadata just like in this urls example to understand from which document inside which repo the answer came from. Thank you very much!

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

      we can build it together

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

    which python version should be used to run this project. Not all the dependencies are getting installed with the latest version of python which is 3.12

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

    When loading the pkl file, I keep getting "ModuleNotFoundError: No module named 'langchain.schema.document'" error. I am using python 3.11.1 on Macbook Air. Thanks!

  • @manojkumar.r7360
    @manojkumar.r7360 9 หลายเดือนก่อน

    Is it possible to run the code first in jupyter notebook

  • @The_Criminal_Minds
    @The_Criminal_Minds 15 วันที่ผ่านมา

    Hi, Just one doubt. If we are saving the embedding using wb in a for loop, wouldn't the embeddings be getting overwritten in the same file?

  • @kannansingaravelu
    @kannansingaravelu 2 หลายเดือนก่อน

    Can this be done using llama index? Any reason to prefer langchain over llama?