shivanis14
commited on
Commit
•
2e1f3a0
1
Parent(s):
d611464
Update app.py
Browse files
app.py
CHANGED
@@ -396,7 +396,8 @@ def analyze_claims(claims, ingredients, assistant_id):
|
|
396 |
messages=[
|
397 |
{
|
398 |
"role": "user",
|
399 |
-
"content": "
|
|
|
400 |
|
401 |
{
|
402 |
<claim_name>: {
|
|
|
396 |
messages=[
|
397 |
{
|
398 |
"role": "user",
|
399 |
+
"content": "A food product named has the following claims: " + ', '.join(claims) + " and ingredients: " + ', '.join(ingredients) + """. Please evaluate the validity of each claim as well as assess if the product name is misleading.
|
400 |
+
The output must be in JSON format as follows:
|
401 |
|
402 |
{
|
403 |
<claim_name>: {
|