From 9eb311619ee91105e66c3e1c5121d205af603482 Mon Sep 17 00:00:00 2001 From: charlesteh <39686678+charlesteh@users.noreply.github.com> Date: Mon, 2 Oct 2023 13:14:42 +0800 Subject: [PATCH] Update OpenAI.php --- app/Helpers/FirstParty/OpenAI/OpenAI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Helpers/FirstParty/OpenAI/OpenAI.php b/app/Helpers/FirstParty/OpenAI/OpenAI.php index 0ee9e9e..dc45b6b 100644 --- a/app/Helpers/FirstParty/OpenAI/OpenAI.php +++ b/app/Helpers/FirstParty/OpenAI/OpenAI.php @@ -10,7 +10,7 @@ class OpenAI { public static function writeProductArticle($excerpt, $photos) { - $excerpt = substr($excerpt, 0, 1500); + //$excerpt = substr($excerpt, 0, 1500); $system_prompt = ' You are tasked with writing a comprehensive product introduction & review article using the provided excerpt. Write as if you are reviewing the product by a third party, but no pronouns.The emphasis should be on the performance, features, and notable aspects of the product. The review must not delve into marketplace-related information. Return the output in the following json format:\n\n