app.py
CHANGED
@@ -19,12 +19,14 @@ def get_completion(prompt, model="gpt-3.5-turbo"):
|
|
19 |
def greet(input):
|
20 |
prompt = f"""
|
21 |
Determine the product or solution, the problem being solved, features, target customer that are being discussed in the \
|
22 |
-
following text, which is delimited by triple backticks. Then, pretend that you are the target customer.
|
23 |
State if you would use this product and elaborate on why.\
|
24 |
|
|
|
25 |
Format your response as a JSON object with \
|
26 |
"solution", "problem", "features", "target_customer", "fg_will_use", "reason" as the keys.
|
27 |
|
|
|
28 |
Text sample: '''{input}'''
|
29 |
"""
|
30 |
response = get_completion(prompt)
|
|
|
19 |
def greet(input):
|
20 |
prompt = f"""
|
21 |
Determine the product or solution, the problem being solved, features, target customer that are being discussed in the \
|
22 |
+
following text, which is delimited by triple backticks. Then, pretend that you are the target customer. \
|
23 |
State if you would use this product and elaborate on why.\
|
24 |
|
25 |
+
|
26 |
Format your response as a JSON object with \
|
27 |
"solution", "problem", "features", "target_customer", "fg_will_use", "reason" as the keys.
|
28 |
|
29 |
+
|
30 |
Text sample: '''{input}'''
|
31 |
"""
|
32 |
response = get_completion(prompt)
|