Skip to content

Commit 52bccb1

Browse files
committed
feat: refine embedding parameter layout and guidance
1 parent d2558ce commit 52bccb1

6 files changed

Lines changed: 292 additions & 66 deletions

File tree

‎frontend/src/i18n/en.json‎

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,20 @@
6969
"return_to_view": "Return to View"
7070
},
7171
"parameter": {
72+
"embedding_scope_hint": "These settings apply to all workspaces and take effect for new questions and background tasks after saving.",
73+
"embedding_backfill_hint": "Enabling generates and uses vectors, with missing or stale vectors filled in the background. Disabling stops new generation; tasks already started may finish.",
74+
"terminology": "Terminology",
75+
"sql_example": "SQL examples",
76+
"knowledge_type": "Knowledge type",
77+
"similarity_threshold": "Similarity threshold",
78+
"vector_candidates": "Vector candidates",
79+
"similarity_hint": "Range: 0–1. Higher values require closer matches.",
80+
"terminology_count_hint": "Candidates per keyword vector search. Combining multiple keywords and text matches may exceed this count.",
81+
"sql_example_count_hint": "Candidates per vector search. Combining text matches may exceed this count.",
82+
"table_count_hint": "Candidates retained by vector filtering. Explicitly mentioned tables and related tables may increase the final count.",
83+
"datasource_count_hint": "Datasource candidates retained by vector filtering before automatic datasource selection.",
84+
"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.",
85+
"table_alpha_disabled_hint": "Enable keyword extraction to adjust the vector weight for hybrid matching.",
7286
"execution_details": "Execution Details",
7387
"overview": "Overview",
7488
"tokens_required": "Tokens Required",
@@ -99,19 +113,19 @@
99113
"default_login": "Default Login Method",
100114
"disable_initial_password": "Disable Initial Password",
101115
"hide_initial_password": "Hide Initial Password on Page",
102-
"knowledge_enabled": "Knowledge vectors",
103-
"knowledge_enabled_hint": "Controls vector generation and retrieval for terminology and SQL examples in all workspaces. Literal matching remains available when disabled. Reenabling fills missing or outdated vectors in the background; running tasks keep their original settings.",
104-
"table_enabled": "Table and datasource vectors",
105-
"table_enabled_hint": "Controls vector generation and candidate filtering across all workspaces. While disabled, metadata edits invalidate old vectors; enabling fills missing vectors in the background. Keyword extraction remains independent.",
116+
"knowledge_enabled": "Vector matching",
117+
"knowledge_enabled_hint": "Match additional terminology and SQL examples by semantic similarity. Text matching remains available when disabled.",
118+
"table_enabled": "Vector filtering",
119+
"table_enabled_hint": "Filter relevant tables and datasources for each question. When disabled, retain all accessible candidates.",
106120
"table_selection": "Table and datasource selection",
107121
"table_count": "Table candidates",
108122
"datasource_count": "Datasource candidates",
109123
"table_alpha": "Vector weight for table matching",
110-
"keyword_enabled": "Extract keywords",
124+
"keyword_enabled": "Keyword extraction",
111125
"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.",
112126
"table_weight_hint": "Vector weight ranges from 0 to 1; keyword weight is 1 minus this value.",
113-
"keyword_enabled_hint": "Controls keyword extraction, terminology synonym expansion and hybrid table matching independently. Keywords still work when table vectors are disabled; previously saved keywords remain available for analysis.",
114-
"knowledge_retrieval": "Knowledge retrieval",
127+
"keyword_enabled_hint": "Extract keywords from questions for terminology and table matching. Works independently of the vector switches.",
128+
"knowledge_retrieval": "Knowledge matching",
115129
"terminology_similarity": "Terminology similarity threshold",
116130
"terminology_top_count": "Terminology vector candidates per keyword",
117131
"data_training_similarity": "SQL example similarity threshold",

‎frontend/src/i18n/ko-KR.json‎

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,20 @@
6969
"return_to_view": "화면으로 돌아가기"
7070
},
7171
"parameter": {
72+
"embedding_scope_hint": "이 설정은 모든 워크스페이스에 적용되며, 저장 후 시작하는 질문과 백그라운드 작업부터 적용됩니다.",
73+
"embedding_backfill_hint": "활성화하면 벡터를 생성하고 사용하며, 누락되거나 오래된 벡터는 백그라운드에서 보충합니다. 비활성화하면 새 벡터 생성을 중지하지만 이미 시작된 작업은 완료될 수 있습니다.",
74+
"terminology": "용어",
75+
"sql_example": "SQL 예제",
76+
"knowledge_type": "지식 유형",
77+
"similarity_threshold": "유사도 임계값",
78+
"vector_candidates": "벡터 후보 수",
79+
"similarity_hint": "범위: 0~1. 값이 높을수록 더 엄격하게 매칭합니다.",
80+
"terminology_count_hint": "키워드별 벡터 검색 후보 수입니다. 여러 키워드와 텍스트 매칭을 합치면 최종 개수가 이 값을 초과할 수 있습니다.",
81+
"sql_example_count_hint": "벡터 검색 후보 수입니다. 텍스트 매칭을 합치면 최종 개수가 이 값을 초과할 수 있습니다.",
82+
"table_count_hint": "벡터 필터링으로 유지할 후보 수입니다. 명시적으로 언급된 테이블과 관계 보완 테이블로 인해 최종 개수가 늘어날 수 있습니다.",
83+
"datasource_count_hint": "자동 데이터 소스 선택 전에 벡터 필터링으로 유지할 데이터 소스 후보 수입니다.",
84+
"table_alpha_hint": "범위: 0~1. 값이 높을수록 벡터 매칭을 우선하며, 키워드 가중치는 1에서 이 값을 뺀 값입니다. 테이블 벡터 필터링과 키워드 추출이 모두 활성화된 경우에만 혼합 점수에 사용됩니다.",
85+
"table_alpha_disabled_hint": "키워드 추출을 활성화하면 혼합 매칭의 벡터 가중치를 조정할 수 있습니다.",
7286
"execution_details": "실행 세부 정보",
7387
"overview": "개요",
7488
"tokens_required": "필요한 토큰 수",
@@ -99,19 +113,19 @@
99113
"default_login": "기본 로그인 방식",
100114
"disable_initial_password": "초기 비밀번호 비활성화",
101115
"hide_initial_password": "페이지에서 초기 비밀번호 숨기기",
102-
"knowledge_enabled": "지식 벡터",
103-
"knowledge_enabled_hint": "모든 작업 공간의 용어와 SQL 예제에 대한 벡터 생성 및 검색을 제어합니다. 비활성화해도 문자 일치는 유지됩니다. 다시 활성화하면 누락되거나 오래된 벡터를 백그라운드에서 보완하며, 실행 중인 작업은 기존 설정을 유지합니다.",
104-
"table_enabled": "테이블 및 데이터 소스 벡터",
105-
"table_enabled_hint": "모든 작업 공간의 벡터 생성과 후보 필터링을 제어합니다. 비활성화 중 메타데이터를 수정하면 기존 벡터가 무효화되며, 다시 활성화하면 백그라운드에서 보충합니다. 키워드 추출은 독립적으로 작동합니다.",
116+
"knowledge_enabled": "벡터 매칭",
117+
"knowledge_enabled_hint": "의미적 유사도로 용어와 SQL 예제를 추가 매칭합니다. 비활성화해도 텍스트 매칭은 유지됩니다.",
118+
"table_enabled": "벡터 필터링",
119+
"table_enabled_hint": "질문과 관련된 테이블과 데이터 소스를 선별합니다. 비활성화하면 접근 가능한 모든 후보를 유지합니다.",
106120
"table_selection": "테이블 및 데이터 소스 선택",
107121
"table_count": "테이블 후보 수",
108122
"datasource_count": "데이터 소스 후보 수",
109123
"table_alpha": "테이블 매칭 벡터 가중치",
110124
"keyword_enabled": "키워드 추출",
111125
"table_candidates_hint": "테이블 후보 수는 최종 테이블 수의 상한이 아닙니다. 명시적으로 언급된 테이블과 관계로 보완된 테이블은 유지됩니다. 데이터 소스 후보 수는 모델의 자동 선택 전 벡터 사전 필터링에 적용됩니다.",
112126
"table_weight_hint": "벡터 가중치는 0~1이며 키워드 가중치는 1에서 이 값을 뺀 값입니다.",
113-
"keyword_enabled_hint": "키워드 추출, 용어 동의어 확장 및 테이블 혼합 매칭을 독립적으로 제어합니다. 테이블 벡터를 꺼도 키워드를 사용할 수 있으며 저장된 과거 키워드는 분석에 계속 사용됩니다.",
114-
"knowledge_retrieval": "지식 검색",
127+
"keyword_enabled_hint": "질문에서 키워드를 추출하여 용어와 테이블 매칭에 사용합니다. 벡터 설정과 독립적으로 작동합니다.",
128+
"knowledge_retrieval": "지식 매칭",
115129
"terminology_similarity": "용어 유사도 임계값",
116130
"terminology_top_count": "키워드별 용어 벡터 후보 수",
117131
"data_training_similarity": "SQL 예제 유사도 임계값",

‎frontend/src/i18n/th-TH.json‎

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,20 @@
6969
"return_to_view": "กลับไปดู"
7070
},
7171
"parameter": {
72+
"embedding_scope_hint": "การตั้งค่าเหล่านี้ใช้กับทุกพื้นที่ทำงาน และมีผลกับคำถามและงานเบื้องหลังที่เริ่มใหม่หลังบันทึก",
73+
"embedding_backfill_hint": "เมื่อเปิดจะสร้างและใช้เวกเตอร์ โดยเติมเวกเตอร์ที่ขาดหรือล้าสมัยในเบื้องหลัง เมื่อปิดจะหยุดการสร้างใหม่ แต่งานที่เริ่มแล้วสามารถทำจนเสร็จได้",
74+
"terminology": "คำศัพท์",
75+
"sql_example": "ตัวอย่าง SQL",
76+
"knowledge_type": "ประเภทความรู้",
77+
"similarity_threshold": "เกณฑ์ความคล้ายคลึง",
78+
"vector_candidates": "จำนวนตัวเลือกเวกเตอร์",
79+
"similarity_hint": "ช่วงค่า 0–1 ค่ายิ่งสูงยิ่งจับคู่เข้มงวด",
80+
"terminology_count_hint": "จำนวนตัวเลือกต่อการค้นหาเวกเตอร์ของแต่ละคำสำคัญ เมื่อรวมหลายคำสำคัญและผลการจับคู่ข้อความ จำนวนสุดท้ายอาจเกินค่านี้",
81+
"sql_example_count_hint": "จำนวนตัวเลือกต่อการค้นหาเวกเตอร์ เมื่อรวมผลการจับคู่ข้อความ จำนวนสุดท้ายอาจเกินค่านี้",
82+
"table_count_hint": "จำนวนตัวเลือกที่เก็บจากการกรองเวกเตอร์ ตารางที่ระบุโดยตรงและตารางที่เชื่อมโยงอาจทำให้จำนวนสุดท้ายเพิ่มขึ้น",
83+
"datasource_count_hint": "จำนวนแหล่งข้อมูลที่เก็บจากการกรองเวกเตอร์ก่อนเลือกแหล่งข้อมูลอัตโนมัติ",
84+
"table_alpha_hint": "ช่วงค่า 0–1 ค่ายิ่งสูงยิ่งเน้นการจับคู่เวกเตอร์ น้ำหนักคำสำคัญเท่ากับ 1 ลบค่านี้ ใช้คำนวณคะแนนแบบผสมเมื่อเปิดทั้งการกรองเวกเตอร์ตารางและการดึงคำสำคัญเท่านั้น",
85+
"table_alpha_disabled_hint": "เปิดการดึงคำสำคัญเพื่อปรับน้ำหนักเวกเตอร์ในการจับคู่แบบผสม",
7286
"execution_details": "รายละเอียดการทำงาน",
7387
"overview": "ภาพรวม",
7488
"tokens_required": "Tokens ที่ใช้",
@@ -99,19 +113,19 @@
99113
"default_login": "วิธีเข้าสู่ระบบเริ่มต้น",
100114
"disable_initial_password": "ปิดใช้งานรหัสผ่านเริ่มต้น",
101115
"hide_initial_password": "ซ่อนรหัสผ่านเริ่มต้นบนหน้าเว็บ",
102-
"knowledge_enabled": "เวกเตอร์ความรู้",
103-
"knowledge_enabled_hint": "ควบคุมการสร้างและค้นหาเวกเตอร์ของคำศัพท์และตัวอย่าง SQL ในทุกพื้นที่ทำงาน เมื่อปิดยังคงจับคู่ข้อความได้ เมื่อเปิดอีกครั้ง ระบบจะเติมเวกเตอร์ที่ขาดหายหรือล้าสมัยในเบื้องหลัง งานที่เริ่มแล้วจะใช้การตั้งค่าเดิม",
104-
"table_enabled": "เวกเตอร์ตารางและแหล่งข้อมูล",
105-
"table_enabled_hint": "ควบคุมการสร้างเวกเตอร์และการกรองตัวเลือกในทุกพื้นที่ทำงาน การแก้ไขเมทาดาทาขณะปิดใช้งานจะทำให้เวกเตอร์เดิมใช้ไม่ได้ เมื่อเปิดอีกครั้ง ระบบจะเติมเวกเตอร์ในเบื้องหลัง การดึงคำสำคัญทำงานอย่างอิสระ。",
116+
"knowledge_enabled": "การจับคู่เวกเตอร์",
117+
"knowledge_enabled_hint": "จับคู่คำศัพท์และตัวอย่าง SQL เพิ่มเติมด้วยความคล้ายคลึงเชิงความหมาย เมื่อปิดยังคงจับคู่ข้อความได้",
118+
"table_enabled": "การกรองเวกเตอร์",
119+
"table_enabled_hint": "กรองตารางและแหล่งข้อมูลที่เกี่ยวข้องกับคำถาม เมื่อปิดจะเก็บตัวเลือกทั้งหมดที่เข้าถึงได้",
106120
"table_selection": "การเลือกตารางและแหล่งข้อมูล",
107121
"table_count": "จำนวนตารางที่เป็นตัวเลือก",
108122
"datasource_count": "จำนวนแหล่งข้อมูลที่เป็นตัวเลือก",
109123
"table_alpha": "น้ำหนักเวกเตอร์ในการจับคู่ตาราง",
110-
"keyword_enabled": "ดึงคำสำคัญ",
124+
"keyword_enabled": "การดึงคำสำคัญ",
111125
"table_candidates_hint": "จำนวนตารางที่เป็นตัวเลือกไม่ใช่ขีดจำกัดจำนวนตารางสุดท้าย ตารางที่ระบุชัดเจนและตารางที่เพิ่มจากความสัมพันธ์จะยังคงอยู่ จำนวนแหล่งข้อมูลใช้กรองด้วยเวกเตอร์ก่อนให้โมเดลเลือกโดยอัตโนมัติ",
112126
"table_weight_hint": "น้ำหนักเวกเตอร์มีค่าตั้งแต่ 0 ถึง 1 และน้ำหนักคำสำคัญเท่ากับ 1 ลบค่านี้",
113-
"keyword_enabled_hint": "ควบคุมการดึงคำสำคัญ การขยายคำพ้องของคำศัพท์ และการจับคู่ตารางแบบผสมอย่างอิสระ คำสำคัญยังใช้ได้เมื่อปิดเวกเตอร์ตาราง และคำสำคัญที่บันทึกไว้ยังใช้ในการวิเคราะห์ได้",
114-
"knowledge_retrieval": "การค้นคืนความรู้",
127+
"keyword_enabled_hint": "ดึงคำสำคัญจากคำถามเพื่อจับคู่คำศัพท์และตาราง ทำงานแยกจากสวิตช์เวกเตอร์",
128+
"knowledge_retrieval": "การจับคู่ความรู้",
115129
"terminology_similarity": "เกณฑ์ความคล้ายคลึงของคำศัพท์",
116130
"terminology_top_count": "จำนวนคำศัพท์เวกเตอร์ต่อคำสำคัญ",
117131
"data_training_similarity": "เกณฑ์ความคล้ายคลึงของตัวอย่าง SQL",

0 commit comments

Comments
 (0)