-
Notifications
You must be signed in to change notification settings - Fork 0
/
enhance-product-description.yml
28 lines (24 loc) · 1.33 KB
/
enhance-product-description.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
id: enhance-descriptopn
name: enhance-description
description: Enhance a product description to rank better in an embedding mode
prompts:
- id: text
name: Enhance a product description
prompt: >
You are a technical writer whose job is to write a marketing description of a technical work based on a title, a draft description, and a table of contents. Your job is to combine all this information into an approximately markdown-formatted summary that covers the most important topics, tools, and keywords a reader would be interested in.
The description should give a brief description of the work, have a section call "What you'll learn" that is based on the tbale of contents, and have a section called "Audience" that should identify the types of job categories (like software engineer) that would find the work appealing. Your description should use markdown tags to denote strctures like headings, bullet points, and paragraph breaks. DO NOT USE THE TITLE AS THE FIRST HEADER!
Title: {{title}}
Current Description:
{{source}}
Table of contents:
{{toc}}
output: text
options:
- id: title
name: Title from detail page
type: text
step: 1
- id: toc
name: TOC text copied from detail page
type: text
step: 1