Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localized generation params text (ja) #343

Merged
merged 2 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion frontend/src/i18n/en/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ const translation = {
noBots: 'No Bots.',
noBotsRecentlyUsed: 'No Recently Used Shared Bots.',
retrievingKnowledge: '[Retrieving Knowledge...]',
agentThinking: '[Agent Thinking...]',
dndFileUpload:
'You can upload files by drag and drop.\nSupported files: {{fileExtensions}}',
uploadError: 'Error Message',
Expand Down
40 changes: 40 additions & 0 deletions frontend/src/i18n/ja/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,43 @@ const translation = {
},
},
},
generationConfig: {
title: '推論パラメーターの設定',
description:
'LLM の推論パラメーターを設定して、モデルからの応答を制御することができます。',
maxTokens: {
label: '最大長',
hint: '生成されるトークン数の最大長を指定します。',
},
temperature: {
label: '温度(Temperature)',
hint: '予測される出力の確率分布の形状に影響を与え、モデルが低確率の出力を選択する可能性に影響を及ぼします。',
help: '温度を低くするとランダム性の低い出力を行い、温度を高くするとランダム性の高い出力を行います。',
},
topK: {
label: 'Top-k',
hint: 'モデルが次のトークンを予測する際に、最も可能性の高い候補の数を指定します。',
help: '値を小さくすると候補の数が少なくなり、結果としてランダム性が低くなります。値を大きくすると候補の数が多くなり、結果としてランダム性が高くなります。',
},
topP: {
label: 'Top-p',
hint: 'モデルが次のトークンを予測する際に、最も可能性が高い候補の割合を示します。',
help: '値を小さくすると候補の数が少なくなり、結果としてランダム性が低くなります。値を大きくすると候補の数が多くなり、結果としてランダム性が高くなります。',
},
stopSequences: {
label: '停止シーケンス',
hint: '指定したキーワードを含む場合、モデルは生成を停止します。複数の単語を設定する場合は、カンマ区切りで入力してください。',
},
},
searchSettings: {
title: '検索設定',
description:
'ベクトルストアから関連ドキュメントを検索する際の設定が行えます。',
maxResults: {
label: '最大検索数',
hint: 'ベクトルストアから検索するレコードの最大数',
},
},
error: {
answerResponse: '回答中にエラーが発生しました。',
notFoundConversation:
Expand All @@ -458,6 +495,9 @@ const translation = {
maxRange: {
message: '設定できる最大値は{{size}}です',
},
minRange: {
statefb marked this conversation as resolved.
Show resolved Hide resolved
message: '設定できる最小値は{{size}}です',
},
chunkOverlapLessThanChunkSize: {
message:
'チャンクオーバーラップはチャンクサイズより小さく設定する必要があります',
Expand Down
Loading