AI UPDATE
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
def build_recommendations_list(sensor_id: str, context: dict | None = None, ai_bundle: dict | None = None) -> dict:
|
||||
ai_bundle = ai_bundle or {}
|
||||
return {"recommendations": ai_bundle.get("recommendations", [])}
|
||||
return {
|
||||
"recommendations": ai_bundle.get("recommendations", []),
|
||||
"structuredContext": ai_bundle.get("structured_context", {}),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user