Skip to content

jpolina/qwizard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voiceflow Study Helper

This voiceflow project takes in the questions and answers that you want to study, and then quizzes you on them. You can chat with your project via the terminal.

Documentation

For additional information about the Voiceflow API, visit the documentation.

Setup

  1. If you do not have node, install Node.js and npm from nodejs.org, or follow an equivalent guide.

  2. In this folder, run npm install.

  3. Replace 'process.env.API_KEY' in index.js with your API Key. You can find them under the integrations tab:

  4. run npm start to start your chat!

Example

What it might look like in action:

$ npm start

> What is your name?: Jonathan
...
Welcome to your personal study guide. To use this guide, you will be first prompted to enter the questions and answers you would like to study. Then, you will be tested on these questions in a random order once you are ready. To stop the program, say stop at any time.
To begin, say the first question you want to study.
> Say something: In what year did World War II end?
...
Enter the answer to this question.
> Say something: 1945
...
To add another question, enter the question. Otherwise, if you are ready to start the test, say 'Start'.
> Say something: What is 4+3?
...
Enter the answer to this question.
> Say something: 7
...
To add another question, enter the question. Otherwise, if you are ready to start the test, say 'Start'.
> Say something: What is the color of grass?
...
Enter the answer to this question.
> Say something: green
...
To add another question, enter the question. Otherwise, if you are ready to start the test, say 'Start'.
> Say something: start
...
Your first question is:
What is the color of grass? 
> Say something: red
...
Wrong. The answer is: green. 1 out of 3 completed.
Here's your next question
What is 4+3? 
> Say something: 7
...
Correct!
2 out of 3 completed
Here's your next question
In what year did World War II end? 
> Say something: 1945
...
Correct!
3 out of 3 completed
We've now come to the end of the exam. 
For your final score, you answered 2 out of 3 questions correctly. If you want to run through the exam again, just say "try again". 
> Say something: exit
...
The end! Start me again with `npm start`

About

A study helper chat bot which helps you to study.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors