73 Commits
Author SHA1 Message Date
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
ulleo e58d1822dc feat: optimize chat list sorting 2026-07-30 16:52:46 +08:00
ulleo b947cf2476 feat: add thousands separator settings 2026-07-09 17:45:21 +08:00
ulleo 316450b027 feat: improve float value display in export excel 2026-06-08 16:20:21 +08:00
yym 1cf4f249ed feat/fix(charts): Normalize qualified SQL column names for display
- Add DataFormat.normalize_qualified_sql_column_keys* so driver keys like
  "_u2.table_name" also expose "table_name", matching chart columns[].value.
- Apply after SQL execution (LLM save path), format_json_list_data (API/history),
  and get_chart_data_ds (live refresh).

Hive prompts: Document explicit table aliases for duplicate column names in JOINs.

Frontend: Add datasource form i18n key "file_path" (en/zh-CN/zh-TW/ko-KR).
Update Hive/SQLite datasource icons. Remove hive from haveSchema list.
2026-05-08 11:53:08 +08:00
wangjiahao 82de276aad feat(dashboard): The dashboard supports displaying real-time data 2026-02-28 16:02:08 +08:00
王嘉豪 9dccaf12d1 feat(dashboard): The dashboard supports displaying real-time data (#930) 2026-02-28 14:53:51 +08:00
ulleo 204a3df78c feat: add chat log step display 2026-02-02 16:58:24 +08:00
ulleo 8a1a9e01d3 feat: add chat log step display
#324
#742
2026-01-29 16:53:47 +08:00
ulleo 3d440e9a6d feat: add chat log step display
#324
#742
2026-01-28 19:07:08 +08:00
ulleo 7560f4c95a feat: add chat log step display
#324
#742
2026-01-28 18:59:54 +08:00
ulleo f8240acfcf feat: add chat log step display
#324
#742
2026-01-28 18:54:25 +08:00
ulleo 180fd4be75 feat: add chat log step display
#324
#742
2026-01-28 16:02:53 +08:00
ulleo 37afb2da21 feat: add more chat log operation steps 2026-01-28 11:10:41 +08:00
wangjiahao 55148b47a8 refactor: Recently queried questions query restriction for the current login user 2026-01-26 10:35:43 +08:00
ulleo 3184b6629e feat: support specifying datasource ID in MCP question 2026-01-21 16:36:26 +08:00
ulleo da807a503b feat: support multiple metrics in line, column, and bar charts 2026-01-20 17:07:11 +08:00
fit2cloud-chenyw 6c7fd8c00f perf: The assistant is optimized for manual data source selection 2026-01-15 09:20:33 +08:00
fit2cloud-chenyw 692103ddb2 fix: API security vulnerability (#714) 2025-12-30 14:16:30 +08:00
wangjiahao 2fa1a94892 fix: No need to call the model to recommend problems during each session switch 2025-12-29 20:14:10 +08:00
ulleo b9b3376396 feat: support command in mcp 2025-12-22 16:46:41 +08:00
ulleo 37bf819b29 feat: support command in mcp 2025-12-18 19:01:11 +08:00
ulleo 4d49819533 feat: improve regenerate SQL chat feature 2025-12-11 16:22:33 +08:00
王嘉豪 661b007dab refactor: update assistant i18n info (#580) 2025-12-04 14:25:31 +08:00
王嘉豪 22488295ff style: Adjust the recommended question style. (#566) 2025-12-03 16:46:49 +08:00
王嘉豪 0d4bd64d7b refactor: Optimize recent problem queries. (#556) 2025-12-03 10:37:14 +08:00
王嘉豪 4ca1adba25 fix: Recommended optimization assistant problems (#554) 2025-12-03 10:06:35 +08:00
王嘉豪 b451d1f057 fix: package error (#549) 2025-12-02 17:53:55 +08:00
王嘉豪 3c948d7a4d fix: Optimize the internationalization prompt of the assistant (#546) 2025-12-02 16:13:43 +08:00
王嘉豪 e86c0d6225 fix: Fixed the issue where the conversation title was not adjusted when the first sentence failed (#543) 2025-12-02 15:39:37 +08:00
王嘉豪 3fa44baddf feat:Support quick questioning, no need to input questions, can also quickly ask common questions (#505) 2025-11-27 16:08:30 +08:00
王嘉豪 a5ba14275e refactor:update recommended questions custom config. (#491) 2025-11-25 18:40:04 +08:00
ulleo 3fa2bae3b5 improve: improve chart data export 2025-11-07 10:27:00 +08:00
王嘉豪 db9c7c0570 fix(Dashboard):Fix the data distortion issue of bigInt type after adding it to the dashboard (#346) 2025-10-22 21:12:07 +08:00
ulleo 632076d82f feat: chart & export Excel support large number data
#233
fix get predict data error
2025-10-22 17:03:19 +08:00
ulleo 55584859b4 feat: chart & export Excel support large number data
#233
2025-10-11 15:11:36 +08:00
ulleo 881dbfc8d8 feat: support carry last execute SQL error info to AI 2025-09-04 17:38:53 +08:00
ulleo 89491a8fb8 feat: improve get history question list 2025-08-29 18:21:42 +08:00
ulleo 5783f3ebf1 fix: recommend questions doesn't show during chatting 2025-08-21 15:18:34 +08:00
ulleo 667536e16c feat: improve chat log table structure 2025-08-21 14:52:36 +08:00
fit2cloud-chenyw 54e2cdf953 perf: Optimize embedded page style layout 2025-08-21 12:06:48 +08:00
ulleo b97fb5fbad improve: improve chat record select 2025-08-07 16:45:29 +08:00
ulleo 2d7dda7fa4 feat: add get_chat_with_data 2025-08-06 10:34:35 +08:00
ulleo 0b7bf18964 feat: add get_chat_with_data 2025-08-06 10:26:08 +08:00
ulleo 73219d6128 feat: improve chat record list display 2025-08-05 18:44:54 +08:00
ulleo d4832da6af fix: show engin type icon after chat created 2025-07-29 14:08:45 +08:00
ulleo d75490aca6 fix: show predict data in charts 2025-07-28 15:39:28 +08:00
ulleo ed8db00ce2 feat: chat add ds_type 2025-07-25 11:12:55 +08:00
fit2cloud-chenyw aeee30e5a9 perf: Chat origin 2025-07-22 22:28:59 +08:00
fit2cloud-chenyw 0f6a772e80 perf: Assistant dynamic ds id 2025-07-22 21:43:38 +08:00