add viral to prompt

my-fix-branch
Shane 7 months ago
parent 66e653b579
commit 41dc142b60
  1. 2
      foodie_utils.py

@ -138,7 +138,7 @@ def generate_article_tweet(author, post, persona):
response = openai.chat.completions.create( response = openai.chat.completions.create(
model=SUMMARY_MODEL, model=SUMMARY_MODEL,
messages=[ messages=[
{"role": "system", "content": "You are a social media expert crafting engaging tweets."}, {"role": "system", "content": "You are a social media viral expert crafting engaging tweets."},
{"role": "user", "content": prompt} {"role": "user", "content": prompt}
], ],
max_tokens=100, max_tokens=100,

Loading…
Cancel
Save