/* Copyright (C) 2025 QuantumNous This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . For commercial licensing, please contact support@quantumnous.com */ import React from 'react'; import { Typography } from '@douyinfe/semi-ui'; import { useTranslation } from 'react-i18next'; import { usePageGuide, PageGuideDrawer, PageGuideTrigger, } from '../../components/common/PageGuide'; import QualityDashboard from '../../components/quality/QualityDashboard'; import './org-quality.css'; const { Title, Text } = Typography; /** 企业中心 · 调用质量:只见本企业数据,渠道与上游细节由后端屏蔽 */ const OrgQuality = ({ orgId }) => { const { t } = useTranslation(); const guide = usePageGuide({ guideKey: 'org-quality', title: t('调用质量 · 使用指引'), intro: t('回答三个问题:调用成不成功、失败怪谁、哪些成员 / 模型受影响最大'), steps: [ { title: t('读懂结局'), detail: t('每次调用只归入一种结局'), points: [ t( '「兜底成功」:首选线路失败,平台自动切换备用线路后成功,对使用者无感', ), t('「兜底失败」:所有备用线路都失败,需要关注'), t( '「客户端中断」「内容安全拦截」默认不计入成功率分母,可在「更多筛选」中勾选纳入', ), ], }, { title: t('区分责任方'), detail: t('失败按原因归类,便于判断是否需要自查'), points: [ t('「请求参数问题」「额度 / 限流」通常可由企业侧调整解决'), t('「服务侧故障」由平台负责处理,持续偏高可联系平台'), ], }, { title: t('下钻定位'), detail: t('从汇总一路点到具体请求'), points: [ t('点击指标卡直接查看对应结局的请求明细'), t( '点击趋势柱子放大到该时段;点击分布表格的行按该部门 / 成员 / 模型筛选', ), t('按成员 / 部门 / 项目筛选时直接统计调用日志,时间范围最长 7 天'), ], }, ], }); return (
{t('调用质量')}
{t('企业调用质量')} {t( '查看本企业调用的成功率、自动兜底效果与失败原因,定位受影响的成员与模型。', )}
); }; export default OrgQuality;