mirror of https://github.com/itflow-org/itflow
Removed the AI Prompt as it did not always work correctly
This commit is contained in:
parent
b2d529e783
commit
cddd9b4977
|
|
@ -12,7 +12,7 @@ if (isset($_GET['ai_reword'])) {
|
|||
$inputJSON = file_get_contents('php://input');
|
||||
$input = json_decode($inputJSON, TRUE); // Convert JSON into array.
|
||||
|
||||
$promptText = "You are an experienced technician at a help desk, training a new technician. You are helping rewrite response for clarity and professionalism, but dont make it too wordy.";
|
||||
$promptText = "";
|
||||
$userText = $input['text'];
|
||||
|
||||
// Preparing the data for the OpenAI Chat API request.
|
||||
|
|
|
|||
Loading…
Reference in New Issue