cogcorp commited on
Commit
9a56aa1
·
1 Parent(s): af8b1f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def create_persona(text):
31
  response = openai.ChatCompletion.create(
32
  model="gpt-3.5-turbo",
33
  messages=[
34
- {"role": "system", "content": "You are a knowledgeable assistant."},
35
  {"role": "user", "content": f"Create a persona based on this text: {text}"},
36
  ]
37
  )
 
31
  response = openai.ChatCompletion.create(
32
  model="gpt-3.5-turbo",
33
  messages=[
34
+ {"role": "system", "content": "You are an expert at summarizing content to provide a factual persona."},
35
  {"role": "user", "content": f"Create a persona based on this text: {text}"},
36
  ]
37
  )