Skip to main content

Interactive and Iterative Prompt Mutation Interface for LLM Developers and Evaluators

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.

structure

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.

Acknowledgements

This tool is being developed by SET-IITGN Group in collaboration with HAIx Lab, IITGN.

This work is supported by Grant No. IP/IITGN/CSE/SM/2324/02 and Grant No. IP/IITGN/CSE/YM/2324/05 from IIT Gandhinagar, Gujarat, India.

Contributing

Conrtibutions are accepted via pull requests. The PRs 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.4.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.4-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for muteract-0.1.4.tar.gz
Algorithm Hash digest
SHA256 82b267015d1a2d353f72cbe6d0b85432ec1e6a599f2f328e621a0567354492b9
MD5 e7b3365ada706ccfad0c177b56048746
BLAKE2b-256 bbeec8a1527d751de8972e4e865b3c1d7733bd0ad605410e3eddb296ba60887a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: muteract-0.1.4-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.12.1

File hashes

Hashes for muteract-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 584eeaa54e5687272ea894a9daaeb7281ea9931db8d9d81704d6a8fe217b1682
MD5 3b9af16962533f83e535c08ca57c0186
BLAKE2b-256 d51cdda0143a32fe70381eb225bd5b799ad40be8f5b5cdfccedf51fa830f7055

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