MCQ Generator Using Langchain
1.0.0
This project is a multiple-choice question generator that leverages OpenAI's GPT-3.5 Turbo and LangChain to create customizable quizzes from input text files. Users can specify the number of questions, the subject, and the difficulty level to tailor the quiz to their needs. The app features an intuitive interface built with Streamlit, making it simple to upload a text file and configure question settings.

To run this project locally:
git clone https://github.com/AliAfshar7/MCQ-Generator-Using-Langchain.git
cd MCQ-Generator-Using-Langchainexport OPENAI_API_KEY="your_openai_api_key"Also, you can define this environment variable in a .env file.
pip install -r requirements.txtstreamlit run StreamlitApp.pyUpload a text file (such as a PDF).
Specify the number of questions, subject, and difficulty level.
Click "Create questions" to get a list of multiple-choice questions based on the given criteria.