Skip to main content

"PromptMage" is designed to offer an intuitive interface that simplifies the process of creating and managing LLM workflows as a self-hosted solution.

Project description


PromptMage-Logo

PromptMage

simplifies the process of creating and managing LLM workflows as a self-hosted solution.

License Monthly downloads PyPI version GitHub issues GitHub stars

[!WARNING] This application is currently in alpha state and under active development. Please be aware that the API and features may change at any time.

About the Project

"PromptMage" is designed to offer an intuitive interface that simplifies the process of creating and managing LLM workflows as a self-hosted solution. It facilitates prompt testing and comparison, and it incorporates version control features to help users track the development of their prompts. Suitable for both small teams and large enterprises, "PromptMage" seeks to improve productivity and foster the practical use of LLM technology.

The approach with "PromptMage" is to provide a pragmatic solution that bridges the current gap in LLM workflow management. We aim to empower developers, researchers, and organizations by making LLM technology more accessible and manageable, thereby supporting the next wave of AI innovations.

PromptMage

Take the walkthrough to see what you can do with PromptMage.

Philosophy

  • Integrate the prompt playground into your workflow for fast iteration
  • Prompts as first-class citizens with version control and collaboration features
  • Manual and automatic testing and validation of prompts
  • Easy sharing of results with domain experts and stakeholders
  • build-in, automatically created API with fastAPI for easy integration and deployment
  • Type-hint everything for automatic inference and validation magic

Getting Started

Installation

To install promptmage, run the following command:

pip install promptmage 

Usage

To use promptmage, run the following command:

promptmage run <path-to-flow>

This will start the promptmage server and run the flow at the given path. You can now access the promptmage interface at http://localhost:8000/gui/.

Have a look at the examples in the examples folder to see how to use promptmage in your application or workflow.

Use with Docker

You can find an usage example with docker here: Docker example.

Development

To develop PromptMage, check out the DEVELOPMENT.md file.

Contributing

Contributing

We welcome contributions from the community! If you're interested in improving PromptMage, you can contribute in the following ways:

  • Reporting Bugs: Submit an issue in our repository, providing a detailed description of the problem and steps to reproduce it.
  • Feature Requests: Have ideas on how to make PromptMage better? We'd love to hear from you! Please submit an issue, detailing your suggestions.
  • Pull Requests: Contributions via pull requests are highly appreciated. Please ensure your code adheres to the coding standards of the project, and submit a pull request with a clear description of your changes.

License

This project is licensed under the MIT License - see the LICENSE.md file for details. Original development by Tobias Sterbak. Copyright (C) 2024.

Contact

For any inquiries or further information, feel free to reach out at promptmage@tobiassterbak.com.

❤️ Acknowledgements

This project was supported by

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

promptmage-0.1.0.tar.gz (411.2 kB view details)

Uploaded Source

Built Distribution

promptmage-0.1.0-py3-none-any.whl (418.2 kB view details)

Uploaded Python 3

File details

Details for the file promptmage-0.1.0.tar.gz.

File metadata

  • Download URL: promptmage-0.1.0.tar.gz
  • Upload date:
  • Size: 411.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.10 Linux/5.15.0-117-generic

File hashes

Hashes for promptmage-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f194bcffb85a80d414ef5ba6a5947a61d82fb120ad9d463644295807de450bdb
MD5 4f6911a3678266479d26dc94c73e14ef
BLAKE2b-256 8f6708cf8f6320014fd9dfe84fb9ca7ed0e7c01c92b9afe6dee04e753d73bff3

See more details on using hashes here.

File details

Details for the file promptmage-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: promptmage-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 418.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.10 Linux/5.15.0-117-generic

File hashes

Hashes for promptmage-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2cb71acbc7330835f8a9cf492416e8ffb2de9e7a64c8d0532ffd4d39dc8ec53
MD5 1f8b5a5ed4914d5218826cea944f5be0
BLAKE2b-256 d6660f5edd4478fc2e026ad4c8e992ae1c2b3b5eb18a4386bdab6356fb19b7c8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page