Skip to content

Jobo0o/prompt_machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prompt Machine

Prompt Machine is a generative AI application built using Flask and the OpenAI GPT-3.5-turbo model. The app is designed to help engineers create more effective prompts for AI models.

Features

  • Prompt Generator: Users can input a title, instruction, examples, target task, and desired output format. The app sends this information to the OpenAI API, which generates an improved prompt. The app then sends this improved prompt back to the API to generate a response.

  • Chat Feature: After generating a prompt, users can continue the conversation by sending additional messages, which are also processed by the AI model.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed Docker on your machine.
  • You have an OpenAI API key.

Running the App

To run Prompt Machine, follow these steps:

  1. Pull the Docker image from Docker Hub:

    docker pull joschenk/prompt_machine:v2
  2. Run the Docker container:

    docker run -p 5000:5000 -e OPENAI_API_KEY=your_openai_api_key joschenk/prompt_machine:v2

    Replace your_openai_api_key with your actual OpenAI API key.

  3. Access the application:

    Open your web browser and go to http://localhost:5000.

Contributing to Prompt Machine

To contribute to Prompt Machine, follow these steps:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and commit them: git commit -m '<commit_message>'
  4. Push to the original branch: git push origin <project_name>/<location>
  5. Create the pull request.

Alternatively, see the GitHub documentation on creating a pull request.

Contact

If you want to contact me, you can reach me at <[email protected]>.

License

This project uses the following license: MIT.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published