Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: extract only `like` feedback to caculate User Satisfaction (#6553)
非法操作f17d4fe412ca
diff --git a/api/controllers/console/app/statistic.py b/api/controllers/console/app/statistic.pyindex d687b52dc8e..b882ffef341 100644--- a/api/controllers/console/app/statistic.py+++ b/api/controllers/console/app/statistic.py@@ -281,7 +281,7 @@ class UserSatisfactionRateStatistic(Resource):SELECT date(DATE_TRUNC('day', m.created_at AT TIME ZONE 'UTC' AT TIME ZONE :tz )) AS date,COUNT(m.id) as message_count, COUNT(mf.id) as feedback_countFROM messages m- LEFT JOIN message_feedbacks mf on mf.message_id=m.id+ LEFT JOIN message_feedbacks mf on mf.message_id=m.id and mf.rating='like'WHERE m.app_id = :app_id'''arg_dict = {'tz': account.timezone, 'app_id': app_model.id}