Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.35 KB

README.md

File metadata and controls

53 lines (34 loc) · 1.35 KB

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