AI-NOID / gen-mcq-openai-llm-project

LLM Project - Langchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🎯Automated MCQ Generation: by Text/PDF - Langchain OpenAI LLM 🐦🔗

" Aims to automate the creation of multiple-choice questions (MCQs) from textual content or PDF documents. Leveraging Langchain's Language Model (LLM), the project utilizes advanced natural language processing techniques to analyze provided text or documents, extract key information, and generate sets of MCQs. This process streamlines the creation of assessment materials, aiding educators, content creators, or organizations in rapidly generating quiz-style questions from textual resources. "

video_2024-01-30_13-50-50.mp4

Following are some important commands you can use on the local machine and AWS EC2:-

     ----------- Local Machine -------------------------

conda create -p env python=3.8 -y

source activate ./env

clear

git status

ls -a

pip install ipykernel

git add .

git commit -m 'all files added'

git push

pip install -r requirements.txt

python setup.py install

streamlit run StreamlitApp.py

    --------------------- AWS EC2 -------------------------------

sudo apt update

sudo apt upgrade -y

sudo apt install git curl unzip tar make sudo vim wget -y

git clone "repo"

ls

cd select folder

sudo apt install python3-pip

pip3 install -r requirements.txt

python3 -m streamlit run StreamlitApp.py

      ---------------

add & access openai_key =>

create .env file = touch .env # creating folder as .env = ls -a # add files = vi .env # opening file = :wq # for exit() = cat .env # reading

and insert copy openai_key & esc key & :wq --> hit enter


About

LLM Project - Langchain

License:Creative Commons Zero v1.0 Universal


Languages

Language:Jupyter Notebook 80.7%Language:Python 19.3%