/openAI-poem

Primary LanguageJavaScript

App Description

  • An application that uses the GPT-3 AI model created by OpenAI { https://openai.com/api/ }. The model can process plain text prompts and produce outputs not dissimilar to human writing.

  • In this application, users can type in a prompt (e.g. Write a poem about Dinosaurs, I think cats are cute, etc.) in a form input field. Once a prompt is submitted via the 'Submit' button on the graphical interface, the GPT-3 will be reached via the text-curie-001 API and will respond with an interpreted output.

Table of Contents:

Deployment:

Usage Instructions:

1) Navigate to the deployed URL at: 

2) Click on the form input field, colored white and immediately after the Page's main title, 'Fun with A.I.'

3) Type in a prompt.  E.g. "Why are cat's so funny?" 

4) Once a prompt has been typed out, click the large blue 'Submit' button

5) Enjoy a response returned by the GPT-3 AI model in the feed at the bottom of the page!

Cloning Instructions:

    1. In the terminal for the project, npm i dotenv to install .env. 1a) Create a .env file 1b) npm i node-modules In the terminal