Skip to content

Commit 5bc4fd7

Browse files
Copilotpamelafox
andauthored
Fix useAgenticRetrieval missing Japanese translations (#2694)
* Initial plan * Fix useAgenticRetrieval Japanese translations and Settings.tsx bug Co-authored-by: pamelafox <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: pamelafox <[email protected]>
1 parent fa81a68 commit 5bc4fd7

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

app/frontend/src/components/Settings/Settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export const Settings = ({
181181
label={t("labels.useAgenticRetrieval")}
182182
onChange={(_ev, checked) => onChange("useAgenticRetrieval", !!checked)}
183183
aria-labelledby={agenticRetrievalId}
184-
onRenderLabel={props => renderLabel(props, agenticRetrievalId, agenticRetrievalFieldId, t("helpTexts.suggestFollowupQuestions"))}
184+
onRenderLabel={props => renderLabel(props, agenticRetrievalId, agenticRetrievalFieldId, t("helpTexts.useAgenticRetrieval"))}
185185
/>
186186
)}
187187
{!useAgenticRetrieval && !useGPT4V && (

app/frontend/src/locales/ja/translation.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@
8383
"minimumSearchScore": "最小検索スコア",
8484
"minimumRerankerScore": "最小リランキング・スコア",
8585
"retrieveCount": "ここで指定する検索結果数を取得:",
86+
"maxSubqueryCount": "最大サブクエリ数",
87+
"resultsMergeStrategy": "結果マージ戦略",
88+
"resultsMergeStrategyOptions": {
89+
"interleaved": "インターリーブ",
90+
"descending": "降順"
91+
},
8692
"includeCategory": "カテゴリを指定",
8793
"includeCategoryOptions": {
8894
"all": "全て"
@@ -99,7 +105,7 @@
99105
"high": ""
100106
},
101107
"useSuggestFollowupQuestions": "フォローアップの質問を提案",
102-
"useAgenticRetrieval": "使用主体性检索",
108+
"useAgenticRetrieval": "エージェント型リトリーバルを使用",
103109
"useGPT4V": "GPT Visionモデルを使用",
104110
"gpt4VInput": {
105111
"label": "GPT Visionモデルの入力",
@@ -142,6 +148,10 @@
142148
"セマンティック・リランカーから返される検索結果の最小スコアを設定します。スコアの値は0から4の範囲で変更できます。スコアの値が大きいほど、質問に対する結果の意味的な関連性が高まります。",
143149
"retrieveNumber":
144150
"Azure AI Searchの検索結果から取得する数を設定します。結果が多ければ多いほど、正しい答えを見つける可能性は高まるかもしれませんが、モデルが「途中で迷子になる」可能性もあります。",
151+
"maxSubqueryCount":
152+
"エージェント型リトリーバルのクエリプランで使用する最大サブクエリ数を設定します。",
153+
"resultsMergeStrategy":
154+
"複数のサブクエリからの結果をマージする戦略を設定します。インターリーブは各サブクエリから上位結果をラウンドロビン順で選択し、降順はすべての結果をリランカースコアで並び替えます。",
145155
"includeCategory": "検索結果に含めるカテゴリを指定します。デフォルトのデータセットはカテゴリを使用していません。",
146156
"excludeCategory": "検索結果から除外するカテゴリを指定します。デフォルトのデータセットはカテゴリを使用していません。",
147157
"useSemanticReranker":
@@ -163,6 +173,6 @@
163173
"streamChat": "生成された回答をチャットUIに対して継続的にストリームで送信します。",
164174
"useOidSecurityFilter": "認証ユーザーのOIDに基づいて検索結果をフィルタリングします。",
165175
"useGroupsSecurityFilter": "認証ユーザーのグループに基づいて検索結果をフィルタリングします。",
166-
"useAgenticRetrieval": "Use agentic retrieval from Azure AI Search for multi-query planning. Always uses semantic ranker."
176+
"useAgenticRetrieval": "Azure AI Search のエージェント型リトリーバルを使用してマルチクエリの計画を行います。常にセマンティック ランカーを使用します。"
167177
}
168178
}

0 commit comments

Comments
 (0)