|
|
|
|
@ -115,7 +115,7 @@ def generate_article_tweet(author, post, persona, summary=""): |
|
|
|
|
author_handle = f"@{author['username']}" |
|
|
|
|
|
|
|
|
|
prompt = ( |
|
|
|
|
f"Craft a sharp tweet (under 280 characters) for {author_handle} with the voice of '{persona}'. " |
|
|
|
|
f"Craft a sharp tweet (under 230 characters) for {author_handle} with the voice of '{persona}'. " |
|
|
|
|
f"Distill the essence of the article '{title}' and its summary into a concise, engaging message. " |
|
|
|
|
f"Summary: {summary}\n" |
|
|
|
|
f"Include one specific detail from the summary (e.g., a unique dish, location, or trend). " |
|
|
|
|
|