ofaws/ai-response-sanitizer

A Laravel package providing simple methods to sanitize text responses received from ChatGPT or other LLM

1.0.1 2025-03-12 08:12 UTC

This package is auto-updated.

Last update: 2025-06-12 08:52:31 UTC


README

Installation

You can install the package via composer:

composer require ofaws/ai-response-sanitizer

Usage

use Ofaws\Sanitizer\Sanitizer;

$sanitized = Sanitizer::json($response);

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

License

The MIT License (MIT). Please see License File for more information.