32 lines
1.1 KiB
SQL
32 lines
1.1 KiB
SQL
|
|
UPDATE article_templates
|
||
|
|
SET prompt_template = 'Write a Top {{count}} article about {{topic}}. Include brief descriptions for each item.',
|
||
|
|
card_config_json = '{}'::jsonb,
|
||
|
|
updated_at = NOW()
|
||
|
|
WHERE scope = 'platform'
|
||
|
|
AND template_key = 'top_x_article'
|
||
|
|
AND deleted_at IS NULL;
|
||
|
|
|
||
|
|
UPDATE article_templates
|
||
|
|
SET prompt_template = 'Write a comprehensive product review for {{product_name}} in the {{category}} category.',
|
||
|
|
card_config_json = '{}'::jsonb,
|
||
|
|
updated_at = NOW()
|
||
|
|
WHERE scope = 'platform'
|
||
|
|
AND template_key = 'product_review'
|
||
|
|
AND deleted_at IS NULL;
|
||
|
|
|
||
|
|
UPDATE article_templates
|
||
|
|
SET prompt_template = 'Write a {{depth}} research report about {{subject}}.',
|
||
|
|
card_config_json = '{}'::jsonb,
|
||
|
|
updated_at = NOW()
|
||
|
|
WHERE scope = 'platform'
|
||
|
|
AND template_key = 'research_report'
|
||
|
|
AND deleted_at IS NULL;
|
||
|
|
|
||
|
|
UPDATE article_templates
|
||
|
|
SET prompt_template = 'Expand on the search query ''{{brand}} {{keyword}}'' with a comprehensive article.',
|
||
|
|
card_config_json = '{}'::jsonb,
|
||
|
|
updated_at = NOW()
|
||
|
|
WHERE scope = 'platform'
|
||
|
|
AND template_key = 'brand_search_expansion'
|
||
|
|
AND deleted_at IS NULL;
|