Skip to main content

A small example package

Project description

Muteract PyPI version License

Interactive and Iterative Prompt Mutation Interface for LLM Developers and Evaluators Screenshot of the Muteract User Interface

Table of Contents

Introduction

Muteract - an interactive and iterative prompt mutation interface that enables LLM developers and evaluators to input natural language (NL) text prompts, apply mutations, analyze variations in textual responses, and archive results.

As of now, this tool provides only Radamsa as the mutator, since it works directly on the bytes in a prompt and can be applied to various modalities. We plan to add more mutators for specific to images, text etc. in the future.

The interaction flow of Muteract is

flowchart

Getting Started

Muteract is a python based tool. Make sure python is installed before following the Installation guide.

Installation

Muteract can be installed with a simple pip command.

# Installation command
pip install muteract

All the dependencies are taken care by the installation.

Usage

Ensure that the OpenAI API Key is configured in the environment variable OPEN_AI_API_KEY before starting the application.

Just running the Muteract command will open the GUI:

muteract

Configuration

Python version above 3.10 is needed for running the application, along with a browser that supports ES2017.

Contributing

Conrtibutions are accepted. The contributions will be accepted only if they are suitable for the tool.

License

Apache License

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

muteract-0.1.2.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

muteract-0.1.2-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file muteract-0.1.2.tar.gz.

File metadata

  • Download URL: muteract-0.1.2.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.15

File hashes

Hashes for muteract-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cc5ba1edeffe7dae1b9b474f985adeb7bda06c267a3bb4c48d2736f6c8910d70
MD5 2ad02739859c597af2180e9c21423ea7
BLAKE2b-256 3621b0f9f003d1e434c8cc339dd2e9fab8902207ae3224d58ce9a502657d1321

See more details on using hashes here.

File details

Details for the file muteract-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: muteract-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.15

File hashes

Hashes for muteract-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ffafb496d62479fd1b7c009e9c244759444a712d1a27d33c8ceae7a925b790d0
MD5 65cc2ee831956436fbc4152e4d63a215
BLAKE2b-256 07a42a5020f8c2652b7a956c81a791bdc38816ff9a577e6c931290705cac8088

See more details on using hashes here.

Supported by

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