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
parent fa73aa8dbf
commit a856ef387b
6 changed files with 105 additions and 5 deletions

View File

@@ -81,6 +81,7 @@ const translation = {
analysis: {
title: 'Analysis',
ms: 'ms',
tokenPS: 'Token/s',
totalMessages: {
title: 'Total Messages',
explanation: 'Daily AI interactions count; prompt engineering/debugging excluded.',
@@ -106,6 +107,10 @@ const translation = {
title: 'Avg. Response Time',
explanation: 'Time (ms) for AI to process/respond; for text-based apps.',
},
tps: {
title: 'Token Output Speed',
explanation: 'Measure the performance of the LLM. Count the Tokens output speed of LLM from the beginning of the request to the completion of the output.',
},
},
}

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 输出速度。',
},
},
}