mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00
V4.8.17 feature (#3493)
* split tokens into input and output (#3477) * split tokens into input and output * query extension & tool call & question guide * fix * perf: input and output tokens * perf: tool call if else * perf: remove code * fix: extract usage count * fix: qa usage count --------- Co-authored-by: heheer <heheer@sealos.io>
This commit is contained in:
@@ -6,12 +6,14 @@
|
||||
"details": "Details",
|
||||
"duration_seconds": "Duration (seconds)",
|
||||
"generation_time": "Generation time",
|
||||
"input_token_length": "input tokens",
|
||||
"member": "member",
|
||||
"member_name": "Member name",
|
||||
"module_name": "module name",
|
||||
"month": "moon",
|
||||
"no_usage_records": "No usage record yet",
|
||||
"order_number": "Order number",
|
||||
"output_token_length": "output tokens",
|
||||
"project_name": "Project name",
|
||||
"source": "source",
|
||||
"text_length": "text length",
|
||||
@@ -20,4 +22,4 @@
|
||||
"total_points_consumed": "AI points consumption",
|
||||
"usage_detail": "Usage details",
|
||||
"user_type": "type"
|
||||
}
|
||||
}
|
||||
|
@@ -447,6 +447,8 @@
|
||||
"core.chat.response.Extension model": "Question Optimization Model",
|
||||
"core.chat.response.Read complete response": "View Details",
|
||||
"core.chat.response.Read complete response tips": "Click to View Detailed Process",
|
||||
"core.chat.response.Tool call input tokens": "Tool Call Input Tokens Consumption",
|
||||
"core.chat.response.Tool call output tokens": "Tool Call Output Tokens Consumption",
|
||||
"core.chat.response.Tool call tokens": "Tool Call Tokens Consumption",
|
||||
"core.chat.response.context total length": "Total Context Length",
|
||||
"core.chat.response.loop_input": "Loop Input Array",
|
||||
@@ -460,10 +462,12 @@
|
||||
"core.chat.response.module historyPreview": "History Preview (Only Partial Content Displayed)",
|
||||
"core.chat.response.module http result": "Response Body",
|
||||
"core.chat.response.module if else Result": "Condition Result",
|
||||
"core.chat.response.module input tokens": "input tokens",
|
||||
"core.chat.response.module limit": "Single Search Limit",
|
||||
"core.chat.response.module maxToken": "Max Response Tokens",
|
||||
"core.chat.response.module model": "Model",
|
||||
"core.chat.response.module name": "Model Name",
|
||||
"core.chat.response.module output tokens": "output tokens",
|
||||
"core.chat.response.module query": "Question/Search Term",
|
||||
"core.chat.response.module quoteList": "Quote Content",
|
||||
"core.chat.response.module similarity": "Similarity",
|
||||
@@ -1043,6 +1047,8 @@
|
||||
"support.user.team.Team Tags Async Success": "Sync Completed",
|
||||
"support.user.team.member": "Member",
|
||||
"support.wallet.Ai point every thousand tokens": "{{points}} Points/1K Tokens",
|
||||
"support.wallet.Ai point every thousand tokens_input": "Input:{{points}} points/1K tokens",
|
||||
"support.wallet.Ai point every thousand tokens_output": "Output:{{points}} points/1K tokens",
|
||||
"support.wallet.Amount": "Amount",
|
||||
"support.wallet.Buy": "Buy",
|
||||
"support.wallet.Not sufficient": "Insufficient AI Points, Please Upgrade Your Package or Purchase Additional AI Points to Continue Using.",
|
||||
|
@@ -1,23 +1,25 @@
|
||||
{
|
||||
"usage_detail": "使用详情",
|
||||
"order_number": "订单号",
|
||||
"generation_time": "生成时间",
|
||||
"month": "月",
|
||||
"app_name": "应用名",
|
||||
"source": "来源",
|
||||
"total_points_consumed": "AI 积分消耗",
|
||||
"billing_module": "扣费模块",
|
||||
"module_name": "模块名",
|
||||
"ai_model": "AI 模型",
|
||||
"token_length": "token 长度",
|
||||
"text_length": "文本长度",
|
||||
"duration_seconds": "时长(秒)",
|
||||
"all": "所有",
|
||||
"app_name": "应用名",
|
||||
"billing_module": "扣费模块",
|
||||
"details": "详情",
|
||||
"duration_seconds": "时长(秒)",
|
||||
"generation_time": "生成时间",
|
||||
"input_token_length": "输入 tokens",
|
||||
"member": "成员",
|
||||
"member_name": "成员名",
|
||||
"user_type": "类型",
|
||||
"module_name": "模块名",
|
||||
"month": "月",
|
||||
"no_usage_records": "暂无使用记录",
|
||||
"order_number": "订单号",
|
||||
"output_token_length": "输出 tokens",
|
||||
"project_name": "项目名",
|
||||
"source": "来源",
|
||||
"text_length": "文本长度",
|
||||
"token_length": "token 长度",
|
||||
"total_points": "AI 积分消耗",
|
||||
"details": "详情",
|
||||
"no_usage_records": "暂无使用记录"
|
||||
}
|
||||
"total_points_consumed": "AI 积分消耗",
|
||||
"usage_detail": "使用详情",
|
||||
"user_type": "类型"
|
||||
}
|
||||
|
@@ -450,6 +450,8 @@
|
||||
"core.chat.response.Extension model": "问题优化模型",
|
||||
"core.chat.response.Read complete response": "查看详情",
|
||||
"core.chat.response.Read complete response tips": "点击查看详细流程",
|
||||
"core.chat.response.Tool call input tokens": "工具调用输入 Tokens",
|
||||
"core.chat.response.Tool call output tokens": "工具调用输出 Tokens",
|
||||
"core.chat.response.Tool call tokens": "工具调用 tokens 消耗",
|
||||
"core.chat.response.context total length": "上下文总长度",
|
||||
"core.chat.response.loop_input": "输入数组",
|
||||
@@ -463,10 +465,12 @@
|
||||
"core.chat.response.module historyPreview": "记录预览(仅展示部分内容)",
|
||||
"core.chat.response.module http result": "响应体",
|
||||
"core.chat.response.module if else Result": "判断器结果",
|
||||
"core.chat.response.module input tokens": "输入 Tokens",
|
||||
"core.chat.response.module limit": "单次搜索上限",
|
||||
"core.chat.response.module maxToken": "最大响应 tokens",
|
||||
"core.chat.response.module model": "模型",
|
||||
"core.chat.response.module name": "模型名",
|
||||
"core.chat.response.module output tokens": "输出 Tokens",
|
||||
"core.chat.response.module query": "问题/检索词",
|
||||
"core.chat.response.module quoteList": "引用内容",
|
||||
"core.chat.response.module similarity": "相似度",
|
||||
@@ -1046,6 +1050,8 @@
|
||||
"support.user.team.Team Tags Async Success": "同步完成",
|
||||
"support.user.team.member": "成员",
|
||||
"support.wallet.Ai point every thousand tokens": "{{points}} 积分/1K tokens",
|
||||
"support.wallet.Ai point every thousand tokens_input": "输入:{{points}} 积分/1K tokens",
|
||||
"support.wallet.Ai point every thousand tokens_output": "输出:{{points}} 积分/1K tokens",
|
||||
"support.wallet.Amount": "金额",
|
||||
"support.wallet.Buy": "购买",
|
||||
"support.wallet.Not sufficient": "您的 AI 积分不足,请先升级套餐或购买额外 AI 积分后继续使用。",
|
||||
|
@@ -6,12 +6,14 @@
|
||||
"details": "詳情",
|
||||
"duration_seconds": "時長(秒)",
|
||||
"generation_time": "生成時間",
|
||||
"input_token_length": "輸入 tokens",
|
||||
"member": "成員",
|
||||
"member_name": "成員名",
|
||||
"module_name": "模組名",
|
||||
"month": "月",
|
||||
"no_usage_records": "暫無使用紀錄",
|
||||
"order_number": "訂單編號",
|
||||
"output_token_length": "輸出 tokens",
|
||||
"project_name": "專案名",
|
||||
"source": "來源",
|
||||
"text_length": "文字長度",
|
||||
@@ -20,4 +22,4 @@
|
||||
"total_points_consumed": "AI 積分消耗",
|
||||
"usage_detail": "使用詳情",
|
||||
"user_type": "類型"
|
||||
}
|
||||
}
|
||||
|
@@ -447,6 +447,8 @@
|
||||
"core.chat.response.Extension model": "問題最佳化模型",
|
||||
"core.chat.response.Read complete response": "檢視詳細資料",
|
||||
"core.chat.response.Read complete response tips": "點選檢視詳細流程",
|
||||
"core.chat.response.Tool call input tokens": "工具呼叫輸入 Token 消耗",
|
||||
"core.chat.response.Tool call output tokens": "工具呼叫輸出 Token 消耗",
|
||||
"core.chat.response.Tool call tokens": "工具呼叫 Token 消耗",
|
||||
"core.chat.response.context total length": "上下文總長度",
|
||||
"core.chat.response.loop_input": "輸入陣列",
|
||||
@@ -460,10 +462,12 @@
|
||||
"core.chat.response.module historyPreview": "記錄預覽(僅顯示部分內容)",
|
||||
"core.chat.response.module http result": "回應內容",
|
||||
"core.chat.response.module if else Result": "條件判斷結果",
|
||||
"core.chat.response.module input tokens": "輸入 tokens",
|
||||
"core.chat.response.module limit": "單次搜尋上限",
|
||||
"core.chat.response.module maxToken": "最大回應 Token 數",
|
||||
"core.chat.response.module model": "模型",
|
||||
"core.chat.response.module name": "模型名稱",
|
||||
"core.chat.response.module output tokens": "輸出 tokens",
|
||||
"core.chat.response.module query": "問題/搜尋詞",
|
||||
"core.chat.response.module quoteList": "引用內容",
|
||||
"core.chat.response.module similarity": "相似度",
|
||||
@@ -1043,6 +1047,8 @@
|
||||
"support.user.team.Team Tags Async Success": "同步完成",
|
||||
"support.user.team.member": "成員",
|
||||
"support.wallet.Ai point every thousand tokens": "{{points}} 點數/1K tokens",
|
||||
"support.wallet.Ai point every thousand tokens_input": "輸入:{{points}} 积分/1K tokens",
|
||||
"support.wallet.Ai point every thousand tokens_output": "輸出:{{points}} 积分/1K tokens",
|
||||
"support.wallet.Amount": "金額",
|
||||
"support.wallet.Buy": "購買",
|
||||
"support.wallet.Not sufficient": "您的 AI 點數不足,請先升級方案或購買額外 AI 點數後繼續使用。",
|
||||
|
Reference in New Issue
Block a user