adjust tweet length
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ def generate_article_tweet(author, post, persona, summary=""):
|
|||||||
author_handle = f"@{author['username']}"
|
author_handle = f"@{author['username']}"
|
||||||
|
|
||||||
prompt = (
|
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"Distill the essence of the article '{title}' and its summary into a concise, engaging message. "
|
||||||
f"Summary: {summary}\n"
|
f"Summary: {summary}\n"
|
||||||
f"Include one specific detail from the summary (e.g., a unique dish, location, or trend). "
|
f"Include one specific detail from the summary (e.g., a unique dish, location, or trend). "
|
||||||
|
|||||||
Reference in New Issue
Block a user