Skip to content

If you put the question to me and asked me to reduce my answer to a single sentence, I should say that anything which gratifies one's intellectual curiosity is, in the broadest sense, a good.

Notifications You must be signed in to change notification settings

lwneal/victorianhackernews

Repository files navigation

Victorian English with GPT3

This is a simple example of good prompt usage with GPT3, as explored by Twitter users.

Usage:

$ export OPENAI_API_KEY=hunter2

$ python victorianify.py "Python is a high-level, general-purpose programming language."

"Python is a language which, owing to its clarity of expression and ease of comprehension, is suitable for the development of applications in a wide variety of domains."

Based on the OpenAI Quickstart docs

Powers victorianhackernews.com

Setup

  1. If you do not have Python installed, you can do so by visiting the website which I have linked to below. The process is simple and takes only a few moments.

  2. Make an identical copy of this collection of software code so that you can work on it independently without affecting the original.

    $ git clone https://github.com/lwneal/victorianhackernews
  3. Make your way, by means of the keyboard, into the project directory.

    $ cd openai-quickstart-python
  4. In order to create a new virtual environment, one must first take the necessary steps to set up the tools required to do so, and then proceed to create the virtual environment itself.

    $ python -m venv venv
    $ . venv/bin/activate
  5. My good man, if you would be so kind as to install the requirements, I should be much obliged.

    $ pip install -r requirements.txt
  6. Add your API key to the code or environment, whichever is most convenient, so that your application may be authenticated."

  7. Run the program on the computer in order to receive the desired output."

    $ python victorianify.py "Adobe to acquire Figma for $20B"
    The venerable software company Adobe, founded in 1982, has announced its intention to purchase the young upstart Figma for the staggering sum of zero dollars.

About

If you put the question to me and asked me to reduce my answer to a single sentence, I should say that anything which gratifies one's intellectual curiosity is, in the broadest sense, a good.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published