PromptGuard is a straightforward tool designed for monitoring the behavior of AI models. It ensures your models perform as expected, saving you time and effort in the long run. By running the same prompts across different models, you can easily see if anything has changed. If results donβt match what you expect, PromptGuard will notify you, helping to maintain the reliability of your applications.
To get started, visit this page to download PromptGuard: Download PromptGuard
Download the Software
Go to the Releases page and find the latest version. Click the link for your operating system to download the installer file (.exe, .dmg, or .tar.gz).
Run the Installer
Locate the downloaded file on your computer and double-click it to start the installation process. Follow the prompts to complete the setup.
pip install -r requirements.txt
Configure Your Environment
PromptGuard requires minimal configuration. Create a directory for your prompts and expected outputs. Update the configuration file with the paths corresponding to your models and expected behavior.
python promptguard.py
Once the application is running, follow these steps to test your models:
Prepare Your Prompts
Write down your prompts in a text file. Place this file in the designated prompts directory you created earlier.
Set Expectations
Define what you expect as output for each prompt in a separate text file. This will help PromptGuard verify the modelβs answers against your expectations.
promptguard test --prompts <path_to_your_prompts.txt> --expected <path_to_your_expectations.txt>
Review Results
After the tests complete, you will receive a report detailing which outputs met your expectations, along with any that did not.
Welcome contributions! If you want to help improve PromptGuard, check the guidelines in the repository for submitting issues or pull requests.
By following these steps and utilizing PromptGuard, you can effectively manage and monitor your AI modelβs behavior, ensuring they work as intended without the need for deep technical knowledge. Enjoy testing!