edit prompt to remove [Read More]
This commit is contained in:
+3
-2
@@ -129,10 +129,11 @@ def generate_article_tweet(author, post, persona):
|
||||
|
||||
prompt = (
|
||||
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"Distill the essence of the article '{title}' and include the raw URL '{url}' at the end. "
|
||||
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."
|
||||
f"Absolutely do not include hashtags, emojis, or phrases like '[Read more]' or 'Read more'. "
|
||||
f"Skip any extra fluff or formatting around the URL—just append the raw URL after a space."
|
||||
)
|
||||
|
||||
response = openai.chat.completions.create(
|
||||
|
||||
Reference in New Issue
Block a user