llm-qa-generator

Installation

  1. Clone the repository
  2. Create a virtual environment and activate it
  3. Install the required packages by running pip install -r requirements.txt
  4. Set the OPENAI_API_KEY environment variable to your OpenAI API key in a .env file
  5. Run the python src/module/create_trivia.py script to generate trivia questions and answers
  6. Once streamlit app is done, you can access it by running streamlit run src/streamlit_app.py

Note: check the src/module/create_trivia.py script for more details and testing purposes.