Skip to content

FH-Potsdam/BedTimeStories-by-GPT-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BedTimeStories-by-GPT-3

A simple web interface to write bedtime stories together with GPT-3 – one step at a time.

Functioning

The interface allows users to write a story in iterations and in collaboration with the AI. That's how it works:

  1. Write the beginning of the story. Example: "One uppon a time, an octopus decided that wanted to see the world."
  2. AI will continue the story with a couple of sentences.
  3. How can the story go on? Just write the next step of the story.
  4. AI will continue it further.

And so on.

Implementation

The app builds on:

Setup

  1. If you don’t have Node.js installed, install it from here

  2. Clone this repository

  3. Navigate into the project directory

    $ cd BedTimeStories-by-GPT-3
  4. Install the requirements

    $ npm install
  5. Make a copy of the example environment variables file

    $ cp .env.example .env
  6. Add your OpenAI API key to the newly created .env file

  7. Run the app

    $ npm run dev

You should now be able to access the app at http://localhost:3000

About

A simple web interface to write bedtime stories together with GPT-3 – one step at a time.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published