Spaces:
Runtime error
Runtime error
Commit
·
594fa93
1
Parent(s):
43087b2
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,6 +22,10 @@ function_descriptions = [
|
|
| 22 |
"type": "string",
|
| 23 |
"description": "Try to identify which product the client is interested in selling or buying, if any"
|
| 24 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
"amount":{
|
| 26 |
"type": "string",
|
| 27 |
"description": "Try to identify the amount of products the client wants to purchase or sell, if any"
|
|
@@ -39,7 +43,7 @@ function_descriptions = [
|
|
| 39 |
"description": "Try to give a priority score to this email based on how likely this email will leads to a good business opportunity, from 0 to 10; 10 most important"
|
| 40 |
},
|
| 41 |
},
|
| 42 |
-
"required": ["companyName", "amount", "product", "priority", "category", "nextStep"]
|
| 43 |
}
|
| 44 |
}
|
| 45 |
]
|
|
|
|
| 22 |
"type": "string",
|
| 23 |
"description": "Try to identify which product the client is interested in selling or buying, if any"
|
| 24 |
},
|
| 25 |
+
"type": {
|
| 26 |
+
"type": "string",
|
| 27 |
+
"description": "Try to identify if the email sender is trying to sell a product or wants to buy a product, if any"
|
| 28 |
+
},
|
| 29 |
"amount":{
|
| 30 |
"type": "string",
|
| 31 |
"description": "Try to identify the amount of products the client wants to purchase or sell, if any"
|
|
|
|
| 43 |
"description": "Try to give a priority score to this email based on how likely this email will leads to a good business opportunity, from 0 to 10; 10 most important"
|
| 44 |
},
|
| 45 |
},
|
| 46 |
+
"required": ["companyName", "amount", "product", "type","priority", "category", "nextStep"]
|
| 47 |
}
|
| 48 |
}
|
| 49 |
]
|