Skip to content

ialhejaili/go-quiz-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-quiz-app

A CLI app that utilizes the OpenAI API to generate dynamic multiple-choice questions based on topics entered by the user. It allows users to interactively choose a topic, answer questions, receive instant feedback, and proceed to the next question. The app provides a flexible and engaging user experience for learning and assessment.

Set Environment Variables

Before running the application, you need to create a .env file in the root directory of the project. This file should contain your OpenAI API key.

1- Create a .env file in the root directory of your project:

   touch .env

2- Add your OpenAI API key to the .env file:

   OPENAI_API_KEY=your_openai_api_key

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published