chips
commited on
Commit
·
a060acc
1
Parent(s):
98ef152
modifying first prompt
Browse files- app/core/prompts.py +4 -2
app/core/prompts.py
CHANGED
@@ -21,8 +21,10 @@ FOLLOW_SCHEMA_HUMAN = """Convert following attributes to structured schema. Keep
|
|
21 |
|
22 |
GET_PERCENTAGE_SYSTEM = "You are a fashion assistant. You have to assign percentages of cerntainty to each attribute of a product based on the image and product data. You will be given an image or a set of images of a product and set of attributes and should output the percentages of certainty into the given structure."
|
23 |
|
24 |
-
GET_PERCENTAGE_HUMAN = """
|
25 |
-
For
|
|
|
|
|
26 |
You should use the following product data to assist you, if available:
|
27 |
{product_data}
|
28 |
If an attribute appears in both the image and the product data, use the value from the product data.
|
|
|
21 |
|
22 |
GET_PERCENTAGE_SYSTEM = "You are a fashion assistant. You have to assign percentages of cerntainty to each attribute of a product based on the image and product data. You will be given an image or a set of images of a product and set of attributes and should output the percentages of certainty into the given structure."
|
23 |
|
24 |
+
GET_PERCENTAGE_HUMAN = """I have a schema for extracting attributes from images of products. It's pasted below.
|
25 |
+
For each of the allowed values, in each of the attributes, assign a percentage of certainty that the product fits with that value.
|
26 |
+
I have attached images of the product.
|
27 |
+
|
28 |
You should use the following product data to assist you, if available:
|
29 |
{product_data}
|
30 |
If an attribute appears in both the image and the product data, use the value from the product data.
|