Expanded the Redact tool into ticket details area, generalized it to allow redaction in other areas as well

This commit is contained in:
johnnyq
2025-03-19 15:35:02 -04:00
parent c3ec83f640
commit 06de349fac
4 changed files with 143 additions and 28 deletions

View File

@@ -14,7 +14,7 @@ if (isset($_GET['ai_reword'])) {
$inputJSON = file_get_contents('php://input');
$input = json_decode($inputJSON, TRUE); // Convert JSON into array.
$promptText = "reword with html format";
$promptText = "reword";
$userText = $input['text'];
// Preparing the data for the OpenAI Chat API request.