Skip to content

A prompt building web application built in python with a retro style Unix web based command line interface

Notifications You must be signed in to change notification settings

ruvnet/retro-ai-ui

Repository files navigation

Retro Console & GPT Prompt Creator

Retro Console Creator is a Flask web application that allows users to create prompts for OpenAI's GPT-3 language model, and generate responses using the same model.

Use Cases

Here are some potential use cases for Retro Console Creator:

  • Content creation: Writers or marketers can use the application to generate ideas for blog posts, social media content, or email newsletters.
  • Conversation simulation: Developers can use the application to create prompts for simulating conversations in chatbots or voice assistants.
  • Product development: Product managers can use the application to generate prompts for user testing or market research.
  • Education: Teachers can use the application to create prompts for generating quiz questions or classroom discussions.
  • Creative writing: Writers can use the application to generate prompts for writing exercises or creative writing prompts.

Overview of Zero-shot, One-shot, and Few-shot Configurations

OpenAI's GPT-3 language model can be fine-tuned for specific tasks using different configurations:

  • Zero-shot configuration: In this configuration, the model is used without any fine-tuning. It can generate responses to prompts that it has not seen before, as long as they are within its domain of knowledge.
  • One-shot configuration: In this configuration, the model is fine-tuned on a small amount of data (usually a single example) for a specific task. The model can then generate responses to similar prompts with high accuracy.
  • Few-shot configuration: In this configuration, the model is fine-tuned on a small amount of data (usually a few examples) for a specific task. The model can then generate responses to similar prompts with even higher accuracy.

Prerequisites

To run Retro Console Creator, you will need:

  • Python 3
  • An OpenAI API key

Installation

  1. Clone this repository
  2. Install the required packages: pip install -r requirements.txt
  3. Set your OpenAI API key as an environment variable: export OPENAI_API_KEY=<your_key>
  4. Start the application: python app.py

Usage

  1. Open your browser and go to http://localhost:8080/
  2. Type a prompt you want to add and the corresponding response, then click "Add Prompt"
  3. Type a prompt in the input field and press Enter to generate a response using OpenAI's GPT-3 language model.

Credits

  • This application was created using OpenAI's GPT-3 language model.
  • The front-end of this application was created using Bootstrap 5.3.0-alpha1.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A prompt building web application built in python with a retro style Unix web based command line interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published