feat: dashboard add tps chart (#706)

Co-authored-by: John Wang <takatost@gmail.com>
This commit is contained in:
Joel 2023-08-01 15:17:20 +08:00 • committed by GitHub
commit a856ef387b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 105 additions and 5 deletions

View file

@ -81,6 +81,7 @@ const translation = {
analysis: {
title: '分析',
ms: '毫秒',
tokenPS: 'Token/秒',
totalMessages: {
title: '全部消息数',
explanation: '反映 AI 每天的互动总次数,每回答用户一个问题算一条 Message。提示词编排和调试的消息不计入。',
@ -106,6 +107,10 @@ const translation = {
title: '平均响应时间',
explanation: '衡量 AI 应用处理和回复用户请求所花费的平均时间,单位为毫秒,反映性能和用户体验。仅在文本型应用提供。',
},
tps: {
title: 'Token 输出速度',
explanation: '衡量 LLM 的性能。统计 LLM 从请求开始到输出完毕这段期间的 Tokens 输出速度。',
},
},
}