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
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.
Wow, thanks!
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!
Happy to hear that! Keep supporting.
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?
Recently i came across you channel , your video content very good. Thanks you for sharing🙂
So nice of you
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...
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.
Thank you! As I suppose you already suspected, that wasn't the answer I had imagined@@AIAnytime
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
project ran successfully. thank you so much for the video
hey brother plz help me also to run this project ... if yes plz reply
how to install all of requirements in laptop
please can you help me on that
Kindly make a video on langchain and llama 2 only .
Will give it a try.. thanks!
@@AIAnytime thank you Sir
Thank you very much Sir, If I want generate QA with other language what I must do?
Another good Video 🔥🔥
Thanks 💯
code is stuck at the questions part, it does not end excecution, nor does it give result
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
Can you do one without open ai?
Will give it a try ...... Thanks!
If you do that using Llama2 or some other open LLM it would be great.
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.
@@AIAnytime yes please do without open ai it will be very helpful for me...please do it soon
What to do to get that first page question and answer generator? Im not getting that template
This is some great content🔥
Thanks Kashyap
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
Impressive!
Excellent!.👍
Thank you! Cheers!
Great going .....
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?
Absolutely. You can use the same process to create a QA dataset for fine tuning LLMs. Save it in a CSV file.
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.
Thanks for your comment, let me see what I can do.
Excellent work sir. just one question. Can this LLM make MCQ and fill in the blank style question and answers?
Yes absolutely. You have to set your prompts like that ... Give it a try.....
Legend 🔥🔥
Thank you
Great Help can you please
explain about ChatGPT api [not key] different api's how we can use it.
but how do i genrate only question
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
you didn't explain almost anything you just read the code.
Bro can we replace open ai with gemini .
Yes we can
Thanks
What is refine template
There is an error 500 when I try to run this project , how to fix this ?
Is your this issue solved? .... help me as well.
@@sameerkhan-mm7qx is your issue solved ?
Can I implement the same thing using Next 13?
Ofcourse you can. Frontend needs to be changed. Backend can be the same!
@@AIAnytime okay thanks, will try to do the same.
os.environ["OPENAI_API_KEY"] = "", can you clarify what path should i copy here
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.
You have to use the API key? Keep you OpenAI API key in "" inside .env file.
@@AIAnytime Sir , Even i am Getting same Error in 500 -- Pls contact admin for support
@@user-tr5hf6bt7k Even i am facing the same
Is your this issue solved ? .. help me out as well ... Tell me what to do next