An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# MCQ-Generator


AI

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.