Input path: /home/debian/html/nutritwin/output_llm/660b03cb63769/input.json
Output path: /home/debian/html/nutritwin/output_llm/660b03cb63769/output.json
Input text: Deux vache qui rit
DB path: __deriveddata__/DerivedObjects/Data/KcalMeDB_fr.sl3
Picto path: __deriveddata__/DerivedObjects/Data/PictoMatcherNetNG_fr.json
Sport grounding path: __deriveddata__/DerivedObjects/Data/DerivedSportMET.json
==================================================================================================================================
Prompt from user: Deux vache qui rit
==================================================================================================================================
==================================== Prompt =============================================
Identify in this list of intents: ["Capture the user food consumption", "Capture the user physical activity", "Other intent"], the intents of the prompt: ###Deux vache qui rit###.
Format the result in JSON format: {intents: []}.
=========================================================================================
------------------------------ LLM Raw response -----------------------------
{
"intents": ["Other intent"]
}
-----------------------------------------------------------------------------
----------------- Make it compliant ------------------
{
"intents": ["Other intent"]
}
------------------------------------------------------
------------------------ After simplification ------------------------
{"intents": ["Other intent"]}
----------------------------------------------------------------------
--------------------------------- final result -----------------------------------
{'prompt': 'Deux vache qui rit', 'intents': ['Other intent'], 'model': 'mistral-large-latest', 'solutions': {'nutrition': [], 'activity': []}, 'cputime': 0.5922365188598633}
----------------------------------------------------------------------------------
LLM CPU Time: 0.5922365188598633