Spaces:
Sleeping
Sleeping
Update prompts.py
Browse files- prompts.py +3 -0
prompts.py
CHANGED
|
@@ -4,6 +4,8 @@ def build_quick_prompt(idea: str, tone: str, words: int, include_emoji: bool, ad
|
|
| 4 |
return (
|
| 5 |
"You are a senior LinkedIn content strategist.\n"
|
| 6 |
"Write a concise LinkedIn post as 4–6 short lines per paragraph (one idea per short paragraph). No long paragraphs.\n"
|
|
|
|
|
|
|
| 7 |
"Return plain text only (no labels).\n\n"
|
| 8 |
f"Language: {language}\n"
|
| 9 |
f"Idea: {idea}\n"
|
|
@@ -20,6 +22,7 @@ def build_quick_prompt(idea: str, tone: str, words: int, include_emoji: bool, ad
|
|
| 20 |
f"- Emojis: {'max 5' if include_emoji else 'none'}.\n"
|
| 21 |
f"- Hashtags: {'append 1–2 niche hashtags at the very end' if add_hashtags else 'none'}.\n"
|
| 22 |
"- Use short sentences and white space for scannability.\n"
|
|
|
|
| 23 |
"- End with a question‑led CTA.\n"
|
| 24 |
"- No repeated sentences. No clichés. No filler.\n"
|
| 25 |
"- Return only the post text."
|
|
|
|
| 4 |
return (
|
| 5 |
"You are a senior LinkedIn content strategist.\n"
|
| 6 |
"Write a concise LinkedIn post as 4–6 short lines per paragraph (one idea per short paragraph). No long paragraphs.\n"
|
| 7 |
+
"Return plain text only (no labels) and use Markdown bolding for the opening line.\n\n"
|
| 8 |
+
f"Language: {language}\n"
|
| 9 |
"Return plain text only (no labels).\n\n"
|
| 10 |
f"Language: {language}\n"
|
| 11 |
f"Idea: {idea}\n"
|
|
|
|
| 22 |
f"- Emojis: {'max 5' if include_emoji else 'none'}.\n"
|
| 23 |
f"- Hashtags: {'append 1–2 niche hashtags at the very end' if add_hashtags else 'none'}.\n"
|
| 24 |
"- Use short sentences and white space for scannability.\n"
|
| 25 |
+
"- Use Punctuation Marks where needed.\n"
|
| 26 |
"- End with a question‑led CTA.\n"
|
| 27 |
"- No repeated sentences. No clichés. No filler.\n"
|
| 28 |
"- Return only the post text."
|