debisoft commited on
Commit
4e107e4
·
1 Parent(s): 5cc8c4c
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -25,10 +25,11 @@ def greet(company, solution, target_customer, problem, features, customer_person
25
  sys_setup = f"""
26
  Determine the product or solution, the problem being solved, features, target customer that are being discussed in the \
27
  following user prompt. State if you would use this product and elaborate on why. Also state if you would pay for it and elaborate on why.\
 
28
  Give a score for the product.
29
 
30
  Format your response as a JSON object with \
31
- 'solution', 'problem', 'features', 'target_customer', 'fg_will_use', 'reason_to_use', 'fg_will_pay', 'reason_to_pay', 'score' as the keys.
32
  """
33
  messages = [{'role':'system', 'content':"You are " + customer_persona + "."}, {'role':'system', 'content': sys_setup}, {'role':'user','content':pitch}]
34
  response = get_completion_from_messages(messages, temperature=0)
 
25
  sys_setup = f"""
26
  Determine the product or solution, the problem being solved, features, target customer that are being discussed in the \
27
  following user prompt. State if you would use this product and elaborate on why. Also state if you would pay for it and elaborate on why.\
28
+ Give a score for the product. Finally, state if you would invest in it and elaborate on why.\
29
  Give a score for the product.
30
 
31
  Format your response as a JSON object with \
32
+ 'solution', 'problem', 'features', 'target_customer', 'fg_will_use', 'reason_to_use', 'fg_will_pay', 'reason_to_pay', 'fg_will_invest', 'reason_to_invest', 'score' as the keys.
33
  """
34
  messages = [{'role':'system', 'content':"You are " + customer_persona + "."}, {'role':'system', 'content': sys_setup}, {'role':'user','content':pitch}]
35
  response = get_completion_from_messages(messages, temperature=0)