Update (ai gen): ask ai to not show \n
This commit is contained in:
@@ -16,7 +16,7 @@ public static function writeProductArticle($excerpt, $photos, $categories)
|
|||||||
|
|
||||||
$system_prompt = '
|
$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
|
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
|
||||||
{"category":"('. $category_str .')","title": "(Article Title, start with product name, 60-70 characters)","excerpt": "(One sentence summary, 150-160 characters of an article, do not use start sentence with verb.)","cliffhanger": "(One sentence 70-80 characters of article, cliff-hanging sentence to attract readers)","body": "(Markdown format, 700-900 word count)"}\n\n
|
{"category": "('. $category_str .')","title": "(Article Title, start with product name, 60-70 characters)","excerpt": "(One sentence summary, 150-160 characters of an article, do not use start sentence with verb.)","cliffhanger": "(One sentence 70-80 characters of article, cliff-hanging sentence to attract readers)","body": "(Markdown format, 700-900 word count)"}\n\n
|
||||||
Mandatory Requirements:\n
|
Mandatory Requirements:\n
|
||||||
- Write in US grade 8-9 English\n
|
- Write in US grade 8-9 English\n
|
||||||
- Use the following sections whenever applicable:\n
|
- Use the following sections whenever applicable:\n
|
||||||
@@ -29,6 +29,7 @@ public static function writeProductArticle($excerpt, $photos, $categories)
|
|||||||
- No article titles inside markdown\n
|
- No article titles inside markdown\n
|
||||||
- All article sections use ###
|
- All article sections use ###
|
||||||
- Pick the closest given category
|
- Pick the closest given category
|
||||||
|
- Make sure JSON structure is minified and without new line
|
||||||
|
|
||||||
';
|
';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user