diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index e0264ad5..4865dc74 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -82,7 +82,6 @@ "table_count_hint": "Candidates retained by vector filtering. Explicitly mentioned tables and related tables may increase the final count.", "datasource_count_hint": "Datasource candidates retained by vector filtering before automatic datasource selection.", "table_alpha_hint": "Range: 0–1. Higher values favor vector matching; keyword weight is 1 minus this value. Used for hybrid scoring only when both table vector filtering and keyword extraction are enabled.", - "table_alpha_disabled_hint": "Enable keyword extraction to adjust the vector weight for hybrid matching.", "execution_details": "Execution Details", "overview": "Overview", "tokens_required": "Tokens Required", @@ -124,7 +123,16 @@ "keyword_enabled": "Keyword extraction", "table_candidates_hint": "Table candidate count is not a final table limit: explicitly mentioned tables and related tables are retained. Datasource count limits vector candidates before the model selects a datasource.", "table_weight_hint": "Vector weight ranges from 0 to 1; keyword weight is 1 minus this value.", - "keyword_enabled_hint": "Extract keywords from questions for terminology and table matching. Works independently of the vector switches.", + "keyword_and_hybrid_matching": "Keywords and hybrid matching", + "table_matching_strategy": "Table matching strategy", + "table_matching_hybrid": "Vector + keywords", + "table_matching_vector": "Vector only", + "table_matching_unfiltered": "No preselection", + "table_matching_hybrid_hint": "Match tables using vector similarity and keywords. Use vector matching when no keywords are extracted.", + "table_matching_vector_hint": "Enable keyword extraction to adjust hybrid matching weights.", + "table_matching_unfiltered_hint": "Keep all accessible candidate tables. Enable vector filtering for tables and datasources and keyword extraction to adjust hybrid matching weights.", + "keyword_weight": "Keyword weight: {weight} (calculated automatically)", + "keyword_enabled_hint": "Extract keywords from the question to match terminology. Keywords also contribute to table matching when vector filtering for tables and datasources is enabled.", "knowledge_retrieval": "Knowledge matching", "terminology_similarity": "Terminology similarity threshold", "terminology_top_count": "Terminology vector candidates per keyword", diff --git a/frontend/src/i18n/ko-KR.json b/frontend/src/i18n/ko-KR.json index 6d57c8f6..ac1d6927 100644 --- a/frontend/src/i18n/ko-KR.json +++ b/frontend/src/i18n/ko-KR.json @@ -82,7 +82,6 @@ "table_count_hint": "벡터 필터링으로 유지할 후보 수입니다. 명시적으로 언급된 테이블과 관계 보완 테이블로 인해 최종 개수가 늘어날 수 있습니다.", "datasource_count_hint": "자동 데이터 소스 선택 전에 벡터 필터링으로 유지할 데이터 소스 후보 수입니다.", "table_alpha_hint": "범위: 0~1. 값이 높을수록 벡터 매칭을 우선하며, 키워드 가중치는 1에서 이 값을 뺀 값입니다. 테이블 벡터 필터링과 키워드 추출이 모두 활성화된 경우에만 혼합 점수에 사용됩니다.", - "table_alpha_disabled_hint": "키워드 추출을 활성화하면 혼합 매칭의 벡터 가중치를 조정할 수 있습니다.", "execution_details": "실행 세부 정보", "overview": "개요", "tokens_required": "필요한 토큰 수", @@ -124,7 +123,16 @@ "keyword_enabled": "키워드 추출", "table_candidates_hint": "테이블 후보 수는 최종 테이블 수의 상한이 아닙니다. 명시적으로 언급된 테이블과 관계로 보완된 테이블은 유지됩니다. 데이터 소스 후보 수는 모델의 자동 선택 전 벡터 사전 필터링에 적용됩니다.", "table_weight_hint": "벡터 가중치는 0~1이며 키워드 가중치는 1에서 이 값을 뺀 값입니다.", - "keyword_enabled_hint": "질문에서 키워드를 추출하여 용어와 테이블 매칭에 사용합니다. 벡터 설정과 독립적으로 작동합니다.", + "keyword_and_hybrid_matching": "키워드 및 하이브리드 매칭", + "table_matching_strategy": "테이블 매칭 전략", + "table_matching_hybrid": "벡터 + 키워드", + "table_matching_vector": "벡터만 사용", + "table_matching_unfiltered": "사전 필터링 안 함", + "table_matching_hybrid_hint": "벡터 유사도와 키워드를 결합하여 테이블을 매칭합니다. 추출된 키워드가 없으면 벡터 매칭을 사용합니다.", + "table_matching_vector_hint": "키워드 추출을 활성화하면 하이브리드 매칭 가중치를 조정할 수 있습니다.", + "table_matching_unfiltered_hint": "접근 가능한 모든 후보 테이블을 유지합니다. 테이블 및 데이터 소스 벡터 필터링과 키워드 추출을 활성화하면 하이브리드 매칭 가중치를 조정할 수 있습니다.", + "keyword_weight": "키워드 가중치: {weight} (자동 계산)", + "keyword_enabled_hint": "질문에서 키워드를 추출하여 용어를 매칭합니다. 테이블 및 데이터 소스 벡터 필터링이 활성화되면 테이블 매칭에도 사용됩니다.", "knowledge_retrieval": "지식 매칭", "terminology_similarity": "용어 유사도 임계값", "terminology_top_count": "키워드별 용어 벡터 후보 수", diff --git a/frontend/src/i18n/th-TH.json b/frontend/src/i18n/th-TH.json index 9ae16846..7f435d99 100644 --- a/frontend/src/i18n/th-TH.json +++ b/frontend/src/i18n/th-TH.json @@ -82,7 +82,6 @@ "table_count_hint": "จำนวนตัวเลือกที่เก็บจากการกรองเวกเตอร์ ตารางที่ระบุโดยตรงและตารางที่เชื่อมโยงอาจทำให้จำนวนสุดท้ายเพิ่มขึ้น", "datasource_count_hint": "จำนวนแหล่งข้อมูลที่เก็บจากการกรองเวกเตอร์ก่อนเลือกแหล่งข้อมูลอัตโนมัติ", "table_alpha_hint": "ช่วงค่า 0–1 ค่ายิ่งสูงยิ่งเน้นการจับคู่เวกเตอร์ น้ำหนักคำสำคัญเท่ากับ 1 ลบค่านี้ ใช้คำนวณคะแนนแบบผสมเมื่อเปิดทั้งการกรองเวกเตอร์ตารางและการดึงคำสำคัญเท่านั้น", - "table_alpha_disabled_hint": "เปิดการดึงคำสำคัญเพื่อปรับน้ำหนักเวกเตอร์ในการจับคู่แบบผสม", "execution_details": "รายละเอียดการทำงาน", "overview": "ภาพรวม", "tokens_required": "Tokens ที่ใช้", @@ -124,7 +123,16 @@ "keyword_enabled": "การดึงคำสำคัญ", "table_candidates_hint": "จำนวนตารางที่เป็นตัวเลือกไม่ใช่ขีดจำกัดจำนวนตารางสุดท้าย ตารางที่ระบุชัดเจนและตารางที่เพิ่มจากความสัมพันธ์จะยังคงอยู่ จำนวนแหล่งข้อมูลใช้กรองด้วยเวกเตอร์ก่อนให้โมเดลเลือกโดยอัตโนมัติ", "table_weight_hint": "น้ำหนักเวกเตอร์มีค่าตั้งแต่ 0 ถึง 1 และน้ำหนักคำสำคัญเท่ากับ 1 ลบค่านี้", - "keyword_enabled_hint": "ดึงคำสำคัญจากคำถามเพื่อจับคู่คำศัพท์และตาราง ทำงานแยกจากสวิตช์เวกเตอร์", + "keyword_and_hybrid_matching": "คำสำคัญและการจับคู่แบบผสม", + "table_matching_strategy": "กลยุทธ์การจับคู่ตาราง", + "table_matching_hybrid": "เวกเตอร์ + คำสำคัญ", + "table_matching_vector": "เวกเตอร์เท่านั้น", + "table_matching_unfiltered": "ไม่คัดกรองล่วงหน้า", + "table_matching_hybrid_hint": "จับคู่ตารางโดยใช้ความคล้ายคลึงของเวกเตอร์ร่วมกับคำสำคัญ หากไม่พบคำสำคัญ จะใช้การจับคู่ด้วยเวกเตอร์", + "table_matching_vector_hint": "เปิดการสกัดคำสำคัญเพื่อปรับน้ำหนักการจับคู่แบบผสม", + "table_matching_unfiltered_hint": "คงตารางที่เข้าถึงได้ทั้งหมดไว้ เปิดการกรองด้วยเวกเตอร์สำหรับตารางและแหล่งข้อมูล รวมถึงการสกัดคำสำคัญ เพื่อปรับน้ำหนักการจับคู่แบบผสม", + "keyword_weight": "น้ำหนักคำสำคัญ: {weight} (คำนวณอัตโนมัติ)", + "keyword_enabled_hint": "สกัดคำสำคัญจากคำถามเพื่อจับคู่คำศัพท์ และใช้จับคู่ตารางด้วยเมื่อเปิดการกรองด้วยเวกเตอร์สำหรับตารางและแหล่งข้อมูล", "knowledge_retrieval": "การจับคู่ความรู้", "terminology_similarity": "เกณฑ์ความคล้ายคลึงของคำศัพท์", "terminology_top_count": "จำนวนคำศัพท์เวกเตอร์ต่อคำสำคัญ", diff --git a/frontend/src/i18n/zh-CN.json b/frontend/src/i18n/zh-CN.json index 94c6d876..213baaf9 100644 --- a/frontend/src/i18n/zh-CN.json +++ b/frontend/src/i18n/zh-CN.json @@ -82,7 +82,6 @@ "table_count_hint": "向量筛选的候选数量;明确提及的表和关系补全表可能使最终数量超过此值。", "datasource_count_hint": "自动选择数据源前,向量筛选保留的数据源候选数量。", "table_alpha_hint": "取值范围 0~1,越大越偏重向量匹配,关键词权重为 1 减去该值。仅在表向量筛选和关键词提取均开启时参与混合评分。", - "table_alpha_disabled_hint": "开启关键词提取后,可调整混合匹配的向量权重。", "execution_details": "执行详情", "overview": "概览", "tokens_required": "消耗 Tokens", @@ -124,7 +123,16 @@ "keyword_enabled": "关键词提取", "table_candidates_hint": "表候选数量不是最终表数上限:明确提及的表和关系补全表会保留。数据源候选数量用于模型自动选数据源前的向量预筛选。", "table_weight_hint": "向量权重范围为 0~1,关键词权重为 1 减去该值。", - "keyword_enabled_hint": "提取问题中的关键词,用于术语匹配和表匹配。独立于向量开关生效。", + "keyword_and_hybrid_matching": "关键词与混合匹配", + "table_matching_strategy": "表匹配策略", + "table_matching_hybrid": "向量 + 关键词", + "table_matching_vector": "仅向量", + "table_matching_unfiltered": "不预筛选", + "table_matching_hybrid_hint": "结合向量相似度与关键词进行表匹配。未提取到关键词时使用向量匹配。", + "table_matching_vector_hint": "开启关键词提取后,可调整混合匹配的权重。", + "table_matching_unfiltered_hint": "保留全部可访问的候选表。开启表与数据源的向量筛选及关键词提取后,可调整混合匹配的权重。", + "keyword_weight": "关键词权重:{weight}(自动计算)", + "keyword_enabled_hint": "提取问题中的关键词用于术语匹配;开启表与数据源的向量筛选时,也参与表匹配。", "knowledge_retrieval": "知识匹配", "terminology_similarity": "术语相似度阈值", "terminology_top_count": "每个关键词的术语向量候选数量", diff --git a/frontend/src/i18n/zh-TW.json b/frontend/src/i18n/zh-TW.json index 252f36bc..9c5e3cc1 100644 --- a/frontend/src/i18n/zh-TW.json +++ b/frontend/src/i18n/zh-TW.json @@ -82,7 +82,6 @@ "table_count_hint": "向量篩選的候選數量;明確提及的表和關係補全表可能使最終數量超過此值。", "datasource_count_hint": "自動選擇資料來源前,向量篩選保留的資料來源候選數量。", "table_alpha_hint": "取值範圍 0~1,越大越偏重向量匹配,關鍵詞權重為 1 減去該值。僅在表向量篩選和關鍵詞擷取均開啟時參與混合評分。", - "table_alpha_disabled_hint": "開啟關鍵詞擷取後,可調整混合匹配的向量權重。", "execution_details": "執行詳情", "overview": "概覽", "tokens_required": "消耗 Tokens", @@ -124,7 +123,16 @@ "keyword_enabled": "關鍵詞擷取", "table_candidates_hint": "表候選數量不是最終表數上限:明確提及的表和關聯補全表會保留。資料來源候選數量用於模型自動選擇資料來源前的向量預篩選。", "table_weight_hint": "向量權重範圍為 0~1,關鍵詞權重為 1 減去此值。", - "keyword_enabled_hint": "擷取問題中的關鍵詞,用於術語匹配和表匹配。獨立於向量開關生效。", + "keyword_and_hybrid_matching": "關鍵詞與混合匹配", + "table_matching_strategy": "表匹配策略", + "table_matching_hybrid": "向量 + 關鍵詞", + "table_matching_vector": "僅向量", + "table_matching_unfiltered": "不預篩選", + "table_matching_hybrid_hint": "結合向量相似度與關鍵詞進行表匹配。未擷取到關鍵詞時使用向量匹配。", + "table_matching_vector_hint": "開啟關鍵詞擷取後,可調整混合匹配的權重。", + "table_matching_unfiltered_hint": "保留全部可存取的候選表。開啟表與資料來源的向量篩選及關鍵詞擷取後,可調整混合匹配的權重。", + "keyword_weight": "關鍵詞權重:{weight}(自動計算)", + "keyword_enabled_hint": "擷取問題中的關鍵詞用於術語匹配;開啟表與資料來源的向量篩選時,也參與表匹配。", "knowledge_retrieval": "知識匹配", "terminology_similarity": "術語相似度閾值", "terminology_top_count": "每個關鍵詞的術語向量候選數量", diff --git a/frontend/src/views/system/parameter/index.vue b/frontend/src/views/system/parameter/index.vue index 643e65c7..50e43653 100644 --- a/frontend/src/views/system/parameter/index.vue +++ b/frontend/src/views/system/parameter/index.vue @@ -1,5 +1,5 @@