From ffad457a71620407af795f25a516b99c1219f563 Mon Sep 17 00:00:00 2001 From: charlesteh <39686678+charlesteh@users.noreply.github.com> Date: Mon, 2 Oct 2023 13:14:06 +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 e4daf9e..0ee9e9e 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, 900); + $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