113 Commits
Author SHA1 Message Date
junjun 35e7e00592 fix: Cross-Workspace Data-Source Schema Disclosure and Modification (Incomplete IDOR Remediation) 2026-09-17 15:23:43 +08:00
ulleo 3fd6fa867d feat: implement LLM keyword extraction and fusion scoring for table matching
- Add extract_keywords() to LLMService with conversation context support,
  using process_stream + start_log/end_log for logging consistency
- Add expand_with_terminology() to expand keywords with synonym matching
- Add fusion scoring in calc_table_embedding(): α * vec_score + (1-α) * keyword_score
- Add calc_keyword_score() with multi-level matching:
  table name exact (1.0), comment exact (0.9), comment substring (0.7),
  table name partial (0.25-0.5), field comment exact (0.5),
  field comment substring (0.4), field name partial (0.3)
- Scoring considers keyword coverage rate to differentiate tables
  with different numbers of matched keywords
- Extracted keywords persisted to ChatRecord for reuse across endpoints
- get_terminology_template() supports comma-separated keyword input
  with per-keyword matching for higher precision
- Add TABLE_EMBEDDING_ALPHA and TABLE_EMBEDDING_KEYWORD_ENABLED config
2026-09-14 17:51:45 +08:00
wangjiahao 1bc83867e5 fix: Cross-Workspace Recommended-Problem Read and Overwrite (IDOR) 2026-09-09 16:26:39 +08:00
junjun fe65f3e2cc refactor: Optimize connection pool #1256 2026-07-20 17:32:54 +08:00
junjun 348346d97b fix: remove sqlite datasource 2026-06-04 11:40:31 +08:00
junjun 76b5176b0e fix: Fix SQL injection vulnerability 2026-06-03 12:18:49 +08:00
ulleo e72c0bedda fix: Fix the data source-related issues in the PR 2026-05-11 15:07:15 +08:00
junjun 37b4eb65eb fix: Fix the data source-related issues in the PR 2026-05-08 12:45:11 +08:00
yymandClaude Opus 4.6 348fd3850f feat: Add SQLite and Hive database support with sample data for AI
- Add SQLite support to data sources (file-based connection)
- Add Hive support to data sources
- Add SSL toggle option for MySQL and Doris databases
- Add sample data (3 rows JSON format) to help AI better understand table schema
- Fix SQLite schema table name issue (empty schema prefix)
- Add SQLite.yaml template for SQL generation
- Add Hive to haveSchema list in frontend

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-05-08 11:53:08 +08:00
junjun 11d1affa29 feat: MCP supports selecting workspaces #926 2026-03-24 15:40:56 +08:00
junjun 15c75365ae refactor: The data table supports enabling and disabling 2026-03-13 14:06:25 +08:00
fit2cloud-chenyw bbadc49759 perf: Cache clearance error in datasource deletion API 2026-01-29 10:55:53 +08:00
fit2cloud-chenyw d640ac31d1 perf: Optimize datasource-related API permission validation 2026-01-28 17:03:58 +08:00
ulleo 0dc289956b feat: improve chart field name matching with original table structure 2026-01-22 14:30:58 +08:00
junjun 9a36830042 feat: Add table field update functionality 2025-12-26 20:29:45 +08:00
junjun 4aaa2f8aad refactor: fields sort 2025-12-25 16:55:54 +08:00
junjun a611289bfa feat: Add table field update functionality 2025-12-09 10:41:37 +08:00
junjun 71e9f1fe38 feat: Datasource table structure supports field retrieval #447 2025-12-08 10:09:06 +08:00
王嘉豪 a5ba14275e refactor:update recommended questions custom config. (#491) 2025-11-25 18:40:04 +08:00
junjun b389e860f2 feat: add oracle instant client to support oracle version 11 2025-10-24 16:01:47 +08:00
junjun 6ae32a8fb7 feat: support starrocks datasource 2025-10-14 14:07:56 +08:00
junjun f4682b3fe1 feat: Vector retrieval matches tables 2025-10-13 14:48:22 +08:00
junjun b1dda8b454 feat: Vector retrieval matches tables 2025-10-10 12:39:37 +08:00
junjun f59bc962e3 refactor: Service initiation vectorization task 2025-10-10 10:03:57 +08:00
junjun 56c0359ee4 feat: Vector retrieval matches tables 2025-10-09 16:12:24 +08:00
junjun 24b9c9afac feat: Vector retrieval matches tables 2025-10-09 11:46:40 +08:00
junjun c5466459e9 feat: Vector retrieval matches tables 2025-10-09 10:05:10 +08:00
Junjun f76f87504e revert settings 2025-09-29 10:24:05 +08:00
ParkMinsu c2531c33f0 korean update 2025-09-29 10:24:05 +08:00
junjun 330fd2ddfd feat: support kingbase datasource 2025-09-28 14:20:16 +08:00
junjun 8cc15583a4 feat: Vector retrieval matches tables 2025-09-26 17:04:34 +08:00
junjun f1e874bab9 perf: Optimize the speed of data querying 2025-09-24 21:13:17 +08:00
junjun 74586ee630 perf: Optimize the speed of data querying 2025-09-24 21:13:17 +08:00
junjun 0e09a0b480 perf: Optimize the speed of data querying 2025-09-24 20:53:09 +08:00
junjun 25024557c6 feat: add table relation 2025-09-24 18:07:39 +08:00
junjun 2f7fb7951b feat: add table relation 2025-09-24 17:35:17 +08:00
junjun 82fbf7f94f feat: Vector retrieval matches tables 2025-09-23 16:09:28 +08:00
junjun eb82d4fb56 feat: Vector retrieval matches tables 2025-09-23 15:17:48 +08:00
junjun 5acb04a561 feat: Vector retrieval matches tables 2025-09-23 15:11:59 +08:00
junjun 487c8e358d feat: Vector retrieval matches tables 2025-09-23 14:53:30 +08:00
junjun 6bc4a4f2f5 refactor: code optimization 2025-09-17 16:57:30 +08:00
junjun a0d603ca44 feat: support Elasticsearch datasource #108 2025-09-17 10:23:01 +08:00
junjun 0cb426de71 feat: support Elasticsearch datasource #108 2025-09-16 13:44:48 +08:00
junjun 2a1205dcbf feat: support Elasticsearch datasource #108 2025-09-16 11:41:12 +08:00
junjun ddb056230e refactor: update datasource config without check status 2025-09-01 11:36:51 +08:00
junjun c9f5a7f807 fix: fix column permission error 2025-08-28 20:53:27 +08:00
junjun e4b07abf8e refactor: Synchronize field types 2025-08-28 14:05:30 +08:00
junjun 6c975b6dc8 feat: support AWS Redshift datasource 2025-08-28 13:56:20 +08:00
junjun 134087bb3f feat: support Apache Doris datasource 2025-08-20 15:30:37 +08:00
junjun db2fdfc4c2 refactor: code optimization 2025-08-20 14:11:37 +08:00