mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 16:26:25 +08:00
feat: frontend support claude (#573)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
This commit is contained in:
@@ -54,7 +54,7 @@ const translation = {
|
||||
maxTokenTip:
|
||||
'Max tokens depending on the model. Prompt and completion share this limit. One token is roughly 1 English character.',
|
||||
maxTokenSettingTip: 'Your max token setting is high, potentially limiting space for prompts, queries, and data. Consider setting it below 2/3.',
|
||||
setToCurrentModelMaxTokenTip: 'Max token is updated to the maximum token of the current model 4,000.',
|
||||
setToCurrentModelMaxTokenTip: 'Max token is updated to the maximum token of the current model {{maxToken}}.',
|
||||
},
|
||||
tone: {
|
||||
Creative: 'Creative',
|
||||
@@ -180,6 +180,22 @@ const translation = {
|
||||
useYourModel: 'Currently using own Model Provider.',
|
||||
close: 'Close',
|
||||
},
|
||||
anthropicHosted: {
|
||||
anthropicHosted: 'Anthropic Claude',
|
||||
onTrial: 'ON TRIAL',
|
||||
exhausted: 'QUOTA EXHAUSTED',
|
||||
desc: 'Powerful model, which excels at a wide range of tasks from sophisticated dialogue and creative content generation to detailed instruction.',
|
||||
callTimes: 'Call times',
|
||||
usedUp: 'Trial quota used up. Add own Model Provider.',
|
||||
useYourModel: 'Currently using own Model Provider.',
|
||||
close: 'Close',
|
||||
},
|
||||
anthropic: {
|
||||
using: 'The embedding capability is using',
|
||||
enableTip: 'To enable the Anthropic model, you need to bind to OpenAI or Azure OpenAI Service first.',
|
||||
notEnabled: 'Not enabled',
|
||||
keyFrom: 'Get your API key from Anthropic',
|
||||
},
|
||||
encrypted: {
|
||||
front: 'Your API KEY will be encrypted and stored using',
|
||||
back: ' technology.',
|
||||
|
||||
@@ -54,7 +54,7 @@ const translation = {
|
||||
maxTokenTip:
|
||||
'生成的最大令牌数取决于模型。提示和完成共享令牌数限制。一个令牌约等于 1 个英文或 半个中文字符。',
|
||||
maxTokenSettingTip: '您设置的最大 tokens 数较大,可能会导致 prompt、用户问题、数据集内容没有 token 空间进行处理,建议设置到 2/3 以下。',
|
||||
setToCurrentModelMaxTokenTip: '最大令牌数更新为当前模型最大的令牌数 4,000。',
|
||||
setToCurrentModelMaxTokenTip: '最大令牌数更新为当前模型最大的令牌数 {{maxToken}}。',
|
||||
},
|
||||
tone: {
|
||||
Creative: '创意',
|
||||
@@ -180,6 +180,22 @@ const translation = {
|
||||
useYourModel: '当前正在使用你自己的模型供应商。',
|
||||
close: '关闭',
|
||||
},
|
||||
anthropicHosted: {
|
||||
anthropicHosted: 'Anthropic Claude',
|
||||
onTrial: '体验',
|
||||
exhausted: '超出限额',
|
||||
desc: '功能强大的模型,擅长执行从复杂对话和创意内容生成到详细指导的各种任务。',
|
||||
callTimes: '调用次数',
|
||||
usedUp: '试用额度已用完,请在下方添加自己的模型供应商',
|
||||
useYourModel: '当前正在使用你自己的模型供应商。',
|
||||
close: '关闭',
|
||||
},
|
||||
anthropic: {
|
||||
using: '嵌入能力正在使用',
|
||||
enableTip: '要启用 Anthropic 模型,您需要先绑定 OpenAI 或 Azure OpenAI 服务。',
|
||||
notEnabled: '未启用',
|
||||
keyFrom: '从 Anthropic 获取您的 API 密钥',
|
||||
},
|
||||
encrypted: {
|
||||
front: '密钥将使用 ',
|
||||
back: ' 技术进行加密和存储。',
|
||||
|
||||
Reference in New Issue
Block a user