Giter VIP home page Giter VIP logo

octaloop_asssessment's Introduction

octaloop_asssessment

Quiz bot from 3 different categories

Assessment Repository

This repository contains scripts and resources for an assessment project.

Setting up the Free API from Gemini

To set up the free API provided by Gemini (Google), follow these steps:

  1. Obtain the API credentials and documentation for accessing the free API, from Google.
  2. Copy the API key to .env

Downloading Folders from Google Drive

Download the following folders from Google Drive (vector-DBs):

  1. Folder 1
  2. Folder 2
  3. Folder 3

Extract Downloaded Folders from Zip Files

  1. Extract all the 3 zip files, in the same directory where program files are saved
  2. After Extraction, faiss_sports, faiss_movie, faiss_history will be shown
  3. Do not change their names, as these files are being called from .py files from their names

Installing Requirements

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

octaloop_asssessment's People

Contributors

zeeshankhalid2k01 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.