https://github.com/luluw8071/mcq-generator
Generating MCQs by uploading a PDF using LangChain & Gemini1.5 Flash
https://github.com/luluw8071/mcq-generator
gemini-api genai langchain mcq streamlit
Last synced: about 2 months ago
JSON representation
Generating MCQs by uploading a PDF using LangChain & Gemini1.5 Flash
- Host: GitHub
- URL: https://github.com/luluw8071/mcq-generator
- Owner: LuluW8071
- License: mit
- Created: 2024-08-06T18:03:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-09T04:04:23.000Z (almost 2 years ago)
- Last Synced: 2025-08-21T08:27:35.563Z (10 months ago)
- Topics: gemini-api, genai, langchain, mcq, streamlit
- Language: Jupyter Notebook
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# MCQ-Generator
MCQ-Generator is a simple multiple-choice question generator that leverages Google's Generative AI (Gemini-1.5-flash LLM API) and LangChain, integrated with a user-friendly Streamlit frontend.
## Installation
To set up the project, follow these steps:
1. **Clone the Repository**
```bash
git clone https://github.com/luluw8071/MCQ-Generator.git
```
2. **Install Dependencies**
Make sure you have `pip` installed and `virtualenv` activated. Then run:
```bash
pip install -r requirements.txt
```
## Usage
**Run the Streamlit App**
```bash
streamlit run app.py
```
## Configuration
Make sure to set up the necessary API keys and configurations for Google's Generative AI and LangChain in your environment. Update the configuration files or environment variables as needed.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for more details.