Quiz bot from 3 different categories
This repository contains scripts and resources for an assessment project.
To set up the free API provided by Gemini (Google), follow these steps:
- Obtain the API credentials and documentation for accessing the free API, from Google.
- Copy the API key to .env
Download the following folders from Google Drive (vector-DBs):
- Extract all the 3 zip files, in the same directory where program files are saved
- After Extraction, faiss_sports, faiss_movie, faiss_history will be shown
- Do not change their names, as these files are being called from .py files from their names
Install the required packages by running the following command:
pip install -r requirements.txt
Running the Script
To run the script, execute the following command:
streamlit run check.py
Extra Files
mcq_generator.ipynb: This file was previously used for generating MCQs but has been replaced by the free API due to resource constraints.
# Note:
Make sure to Add 3-folders, which will be downloaded from links, and Add API in .env