feat: get tokens from api usage (#4671)

This commit is contained in:
Archer
2025-04-27 01:13:38 +08:00
committed by GitHub
parent 0720bbe4da
commit 1465999c46
26 changed files with 270 additions and 223 deletions

View File

@@ -3,7 +3,7 @@
"Click_to_expand": "Click to expand",
"Download": "Download",
"Export": "Export",
"FAQ.ai_point_a": "Each time you use the AI model, a certain amount of AI points will be deducted. For detailed calculation standards, please refer to the 'AI Points Calculation Standards' above.\nToken calculation uses the same formula as GPT-3.5, where 1 Token0.7 Chinese characters ≈ 0.9 English words. Consecutive characters may be considered as 1 Token.",
"FAQ.ai_point_a": "Each time an AI model is called, a certain amount of AI points will be consumed. \nFor specific calculation standards, please refer to the \"AI integral calculation standards\" above. \nThe system will give priority to the actual usage returned by the model manufacturer. If it is empty, the calculation method of GPT3.5 is used for estimation. 1Token0.7 Chinese characters ≈0.9 English words, and the characters that appear continuously may be considered as 1 Tokens.",
"FAQ.ai_point_expire_a": "Yes, they will expire. After the current package expires, the AI points will be reset to the new package's AI points. Annual package AI points are valid for one year, not monthly.",
"FAQ.ai_point_expire_q": "Do AI points expire?",
"FAQ.ai_point_q": "What are AI points?",
@@ -490,18 +490,15 @@
"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",
"core.chat.response.module temperature": "Temperature",
"core.chat.response.module time": "Run Time",
"core.chat.response.module tokens": "Total Tokens",
"core.chat.response.plugin output": "Plugin Output Value",
"core.chat.response.search using reRank": "Result Re-Rank",
"core.chat.response.text output": "Text Output",