Input path: /home/debian/html/nutritwin/output_llm/663134e47a67a/input.json
Output path: /home/debian/html/nutritwin/output_llm/663134e47a67a/output.json
Input text: Et voilà
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: Et voilà
==================================================================================================================================
==================================== Prompt =============================================
Identify in this list of intents: ["Capture the user food consumption", "Capture the user physical activity", "Answer a nutrition question", "Other intent"], the intents of the prompt: ###Et voilà###.
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': 'Et voilà', 'intents': ['Other intent'], 'model': 'mistral-large-latest', 'solutions': {'nutrition': [], 'activity': [], 'response': ''}, 'cputime': 0.9008665084838867}
----------------------------------------------------------------------------------
LLM CPU Time: 0.9008665084838867