Question and Answer Generation App using LLM: Elevate Your Exam Prep with Generative AI 📚🤖

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Are you tired of spending hours creating practice questions and answers for your exam preparation? Look no further! This in-depth tutorial introduces an incredible Generative AI-powered solution to streamline your study routine.
    Building an Automated Question and Answer Generation App, using OpenAI's advanced Large Language Model (LLM), ChatGPT. With the power of FastAPI on the backend, this app offers a seamless and user-friendly experience.
    Watch as I guide you through the entire process:
    🔸 Uploading your study material in PDF format
    🔸 Exploring how LangChain's cutting-edge language processing capabilities handle the heavy lifting
    🔸 Witnessing the magic of ChatGPT as it generates a CSV file containing a comprehensive set of questions and their accurate answers
    GitHub: github.com/AIA...
    Langchain Docs: docs.langchain...
    Don't forget to like and subscribe to stay updated on the latest Gen AI-powered learning techniques!
    #ai #generativeai #python

Комментарии • 67

  • @user-pf8yu6om2j
    @user-pf8yu6om2j Год назад +3

    You are the only one on RUclips from what I have seen, that could make learning the whole AI world with ease, Man keep it, I support you fully. I will keep watching you.

  • @snsa_kscc
    @snsa_kscc Год назад +1

    Great content, man! 🔥🔥 You are nailing it lately and watching your tutorials is lot of fun. Goes without saying, you are helping me a lot. Massive thanks! Have a nice one!

    • @AIAnytime
      @AIAnytime  Год назад +1

      Happy to hear that! Keep supporting.

  • @pratyushrao7979
    @pratyushrao7979 4 месяца назад +1

    Can you explain the methodology better? Why are you generating two types of chains? In what steps do answers get generated? You have only asked the llm to generate questions in the prompt. Why are you even storing them in the vector store? What exactly is your high level approach in doing what you have done?

  • @venkatatalatam3740
    @venkatatalatam3740 Год назад

    Recently i came across you channel , your video content very good. Thanks you for sharing🙂

  • @angusNLP
    @angusNLP Год назад +1

    Geat content! wish you the best on yt. What do you use in production instead of langchain? I can imagine the answer, but just in case...

    • @AIAnytime
      @AIAnytime  Год назад

      Hi, We have explored a couple of other frameworks/libraries like llm-client, Semantic kernel by Microsoft, or even Griptape. We started with Llama-index but now we use different fw depending upon the use cases and the magnitude of the problem.

    • @angusNLP
      @angusNLP Год назад

      Thank you! As I suppose you already suspected, that wasn't the answer I had imagined@@AIAnytime

    • @angusNLP
      @angusNLP Год назад

      It's a very particular moment, one develops by trying things and practicing, knowing that what's present won't be what will eventually be in production in a few months.@@AIAnytime

  • @user-tr5hf6bt7k
    @user-tr5hf6bt7k 11 месяцев назад

    project ran successfully. thank you so much for the video

    • @AnsulSingh-nu1xd
      @AnsulSingh-nu1xd 2 месяца назад

      hey brother plz help me also to run this project ... if yes plz reply

  • @chaitanyakadam5739
    @chaitanyakadam5739 Год назад +1

    how to install all of requirements in laptop
    please can you help me on that

  • @Bcs-Mohtisham
    @Bcs-Mohtisham Год назад +3

    Kindly make a video on langchain and llama 2 only .

  • @mamb5323
    @mamb5323 4 месяца назад

    Thank you very much Sir, If I want generate QA with other language what I must do?

  • @harshkadam3702
    @harshkadam3702 Год назад +1

    Another good Video 🔥🔥

  • @vishnus3510
    @vishnus3510 7 месяцев назад

    code is stuck at the questions part, it does not end excecution, nor does it give result

  • @CindrellaEscobar
    @CindrellaEscobar 5 месяцев назад

    missed the conceptual explanation of the code you have done. May be due to you want to generate a business out of it. If not then its a suggestion to you to explain the concepts in your videos which will be real help for the new gens and next gens

  • @seyamalam7281
    @seyamalam7281 Год назад +3

    Can you do one without open ai?

    • @AIAnytime
      @AIAnytime  Год назад +1

      Will give it a try ...... Thanks!

    • @navneetkrc
      @navneetkrc Год назад

      If you do that using Llama2 or some other open LLM it would be great.

    • @AIAnytime
      @AIAnytime  Год назад

      I did and got results also but that's not worth creating a video. For this task, i recommend using closed sourced models. If data is not that confidential. If it's confidential then will recommend 70B models or MPT30B atleast. 7B and 13B models are not performing well.

    • @dineshmadhav6878
      @dineshmadhav6878 Год назад

      @@AIAnytime yes please do without open ai it will be very helpful for me...please do it soon

  • @charud1874
    @charud1874 4 месяца назад

    What to do to get that first page question and answer generator? Im not getting that template

  • @kashyap_v
    @kashyap_v Год назад

    This is some great content🔥

  • @malleswararaomaguluri6344
    @malleswararaomaguluri6344 Год назад

    Please make a video on langchain with vectordb. How to add pdf to existing vectordb instead of doing embedding again. Can you do video on meta api for the same application and what are the other open source api models for the same task. Thanks

  • @brianglong11
    @brianglong11 5 месяцев назад

    Impressive!

  • @mikew2883
    @mikew2883 3 месяца назад

    Excellent!.👍

    • @AIAnytime
      @AIAnytime  3 месяца назад

      Thank you! Cheers!

  • @mcmarvin7843
    @mcmarvin7843 Год назад

    Great going .....

  • @RedCloudServices
    @RedCloudServices Год назад +1

    Can this method be used to generate Q&A format for fine tuning a LLM with custom PDF corpus? or just to simply generate practice questions?

    • @AIAnytime
      @AIAnytime  Год назад +1

      Absolutely. You can use the same process to create a QA dataset for fine tuning LLMs. Save it in a CSV file.

  • @rakeshkumarrout2629
    @rakeshkumarrout2629 Год назад

    Thank you so much for making this video. Can you make a tutorial on the problem statement. -->>PDF files that are
    chapters from a CBSE text book.● Paragraphs passed will only have one topic in it.[Paragraph] ,format->MCA Questions examples: More than choice per question should be an answer and is a
    must**
    Q1: Which of the following are examples of light-dependent reactions in photosynthesis?
    a. Stripping electrons from suitable substances
    b. Reducing and removing compounds
    c. Producing glucose
    d. Creating NADPH and ATP
    Correct Options: (a) & (d)
    kindly make a video on it how to make it using langchain.This is something i have been asking from a lomg time ,kindly make if you have free time .Thank you once again for sharing such adavance contents.

    • @AIAnytime
      @AIAnytime  Год назад +1

      Thanks for your comment, let me see what I can do.

  • @rajeshd4674
    @rajeshd4674 Год назад

    Excellent work sir. just one question. Can this LLM make MCQ and fill in the blank style question and answers?

    • @AIAnytime
      @AIAnytime  Год назад

      Yes absolutely. You have to set your prompts like that ... Give it a try.....

  • @SnehaRoy-pf9cw
    @SnehaRoy-pf9cw Год назад +1

    Legend 🔥🔥

  • @CharanjitSingh-lb6qq
    @CharanjitSingh-lb6qq Год назад

    Great Help can you please
    explain about ChatGPT api [not key] different api's how we can use it.

  • @debojitmandal8670
    @debojitmandal8670 8 месяцев назад

    but how do i genrate only question

  • @jayvirsinhchhasatiya
    @jayvirsinhchhasatiya 6 месяцев назад

    I want to make an chatbot where I can upload pdf and then it can generate sample questions. And also I can ask my own questions and it will give me answers accordingly. Can someone help me with this

  • @paulbarreda6576
    @paulbarreda6576 5 месяцев назад +1

    you didn't explain almost anything you just read the code.

  • @user-hg5ri5sd5v
    @user-hg5ri5sd5v 6 месяцев назад +1

    Bro can we replace open ai with gemini .

  • @rohitsinghal938
    @rohitsinghal938 Год назад

    Thanks

  • @debojitmandal8670
    @debojitmandal8670 8 месяцев назад

    What is refine template

  • @eloisaespano7314
    @eloisaespano7314 4 месяца назад

    There is an error 500 when I try to run this project , how to fix this ?

    • @sameerkhan-mm7qx
      @sameerkhan-mm7qx 3 месяца назад

      Is your this issue solved? .... help me as well.

    • @AnsulSingh-nu1xd
      @AnsulSingh-nu1xd 2 месяца назад

      @@sameerkhan-mm7qx is your issue solved ?

  • @rayyanalam4815
    @rayyanalam4815 Год назад +1

    Can I implement the same thing using Next 13?

    • @AIAnytime
      @AIAnytime  Год назад

      Ofcourse you can. Frontend needs to be changed. Backend can be the same!

    • @rayyanalam4815
      @rayyanalam4815 Год назад

      @@AIAnytime okay thanks, will try to do the same.

  • @user-tr5hf6bt7k
    @user-tr5hf6bt7k 11 месяцев назад

    os.environ["OPENAI_API_KEY"] = "", can you clarify what path should i copy here

    • @user-tr5hf6bt7k
      @user-tr5hf6bt7k 11 месяцев назад +1

      when i run application on port 8001 and I uploaded SDG pdf and while clicking 'Generate QA pair' it is showing "There is a 500 error. Please contact admin for support". can you resolve this issue.

    • @AIAnytime
      @AIAnytime  11 месяцев назад +1

      You have to use the API key? Keep you OpenAI API key in "" inside .env file.

    • @sidindian1982
      @sidindian1982 9 месяцев назад +1

      @@AIAnytime Sir , Even i am Getting same Error in 500 -- Pls contact admin for support

    • @sidindian1982
      @sidindian1982 9 месяцев назад

      @@user-tr5hf6bt7k Even i am facing the same

    • @sameerkhan-mm7qx
      @sameerkhan-mm7qx 3 месяца назад

      Is your this issue solved ? .. help me out as well ... Tell me what to do next