Spaces:
Sleeping
Sleeping
chips
commited on
Commit
·
5f1317e
1
Parent(s):
72c74d2
better prompt
Browse files- app/core/prompts.py +1 -1
app/core/prompts.py
CHANGED
|
@@ -34,7 +34,7 @@ EXTRACT_INFO_STATS = (
|
|
| 34 |
|
| 35 |
EXTRACT_INFO_HUMAN = (
|
| 36 |
"""I have a schema for extracting attributes from images of products. It's pasted below. For each of the allowed values, in each of the attributes, assign a percentage of certainty that the product fits with that value.
|
| 37 |
-
I have attached images of the product.
|
| 38 |
schema =
|
| 39 |
"Length": {
|
| 40 |
"description": "Length of dress",
|
|
|
|
| 34 |
|
| 35 |
EXTRACT_INFO_HUMAN = (
|
| 36 |
"""I have a schema for extracting attributes from images of products. It's pasted below. For each of the allowed values, in each of the attributes, assign a percentage of certainty that the product fits with that value.
|
| 37 |
+
I have attached images of the product. Ones you have assigned a certainty to each of the attributes, re-evaluate based on the top three values to make absolutely sure you are selectling the best fit. For the attributes that can have arrays as return, select all the ones that score over 50 percent
|
| 38 |
schema =
|
| 39 |
"Length": {
|
| 40 |
"description": "Length of dress",
|