update tweet prompt
This commit is contained in:
+5
-5
@@ -128,11 +128,11 @@ def generate_article_tweet(author, post, persona):
|
||||
author_handle = f"@{author['username']}"
|
||||
|
||||
prompt = (
|
||||
f"Generate a concise tweet (under 280 characters) for {author_handle} using the persona '{persona}'. "
|
||||
f"Summarize the article '{title}' and include the link '{url}'. "
|
||||
f"Highlight the article's appeal, make it engaging, and encourage interaction. "
|
||||
f"Avoid using the word 'elevate'—use more humanized language like 'level up' or 'bring to life'. "
|
||||
f"Do not include hashtags or emojis."
|
||||
f"Craft a sharp tweet (under 280 characters) for {author_handle} with the voice of '{persona}'. "
|
||||
f"Distill the essence of the article '{title}' and link to '{url}'. "
|
||||
f"Make it bold, spark curiosity, and invite engagement with a human touch. "
|
||||
f"Swap 'elevate' for dynamic terms like 'ignite' or 'unleash'. "
|
||||
f"Skip hashtags, emojis, or fluff."
|
||||
)
|
||||
|
||||
response = openai.chat.completions.create(
|
||||
|
||||
Reference in New Issue
Block a user