debisoft commited on
Commit
54c0786
·
1 Parent(s): 34c7842
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,14 +17,14 @@ def get_completion(prompt, model="gpt-3.5-turbo"):
17
  )
18
  return response.choices[0].message["content"]
19
 
20
- def greet(company, solution, target_customer, problem, features):
21
  prompt = f"""
22
  Determine the product or solution, the problem being solved, features, target customer that are being discussed in the \
23
  following text, which is delimited by triple backticks. Then, pretend that you are the target customer. \
24
  State if you would use this product and elaborate on why. Also state if you would pay for it and elaborate on why.\
25
 
26
  Format your response as a JSON object with \
27
- 'solution', 'problem', 'features', 'target_customer', 'fg_will_use', 'reason_to_use', 'fg_will_pay', 'reason_to_pay' as the keys.\
28
 
29
  Text sample: '''{problem}'''
30
  """
 
17
  )
18
  return response.choices[0].message["content"]
19
 
20
+ def greet(company, solution, customer, problem, features):
21
  prompt = f"""
22
  Determine the product or solution, the problem being solved, features, target customer that are being discussed in the \
23
  following text, which is delimited by triple backticks. Then, pretend that you are the target customer. \
24
  State if you would use this product and elaborate on why. Also state if you would pay for it and elaborate on why.\
25
 
26
  Format your response as a JSON object with \
27
+ 'solution', 'problem', 'features', 'customer', 'fg_will_use', 'reason_to_use', 'fg_will_pay', 'reason_to_pay' as the keys.\
28
 
29
  Text sample: '''{problem}'''
30
  """