debisoft commited on
Commit
c36715d
·
1 Parent(s): 6bac1cd
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -88,7 +88,8 @@ Give a score for the product. Format your response as a JSON object with 'soluti
88
  I am building an online community to help people to find dates.
89
 
90
  ### Response:
91
- {"solution": "FindDates.com", "problem": "finding a date", "features": "online community to help people find dates", "target_customer": "people looking for a date", "fg_will_use": "True", "reason_to_use": "I am looking for an online community to help people find dates. FindDates.com meets my needs and I would use it to find my next great date.","fg_will_pay": "True", "reason_to_pay": "I would not pay for it as I am looking for an online community to help people find dates. But for products related to dating, paying for it would be a no-brainer.","fg_will_invest": "False", "reason_to_invest": "There are many online dating platforms already.","score": "40"}"""
 
92
 
93
  prompt = f"""
94
  Determine the product or solution, the problem being solved, features, target customer that are being discussed in the \
@@ -125,7 +126,7 @@ Below is an instruction that describes a task, paired with an input that provide
125
  ### Response:\\n\
126
  """
127
 
128
- total_prompt = n_shot_learning + prompt_template
129
  print("***total_prompt:")
130
  print(total_prompt)
131
  response = get_completion(total_prompt)
 
88
  I am building an online community to help people to find dates.
89
 
90
  ### Response:
91
+ {"solution": "FindDates.com", "problem": "finding a date", "features": "online community to help people find dates", "target_customer": "people looking for a date", "fg_will_use": "True", "reason_to_use": "I am looking for an online community to help people find dates. FindDates.com meets my needs and I would use it to find my next great date.","fg_will_pay": "True", "reason_to_pay": "I would not pay for it as I am looking for an online community to help people find dates. But for products related to dating, paying for it would be a no-brainer.","fg_will_invest": "False", "reason_to_invest": "There are many online dating platforms already.","score": "40"}
92
+ """
93
 
94
  prompt = f"""
95
  Determine the product or solution, the problem being solved, features, target customer that are being discussed in the \
 
126
  ### Response:\\n\
127
  """
128
 
129
+ total_prompt = f"""{n_shot_learning}\n{prompt_template}"""
130
  print("***total_prompt:")
131
  print(total_prompt)
132
  response = get_completion(total_prompt)