89 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
junjun cad8a57c30 refactor: Optimize the type of permission field 2026-07-16 17:31:53 +08:00
junjun 1e130223a3 refactor: Optimize the type of permission field 2026-07-16 17:09:08 +08:00
Fit111 7d4354597c feat: 新增alembic迁移脚本,补充内置数据库表字段备注 2026-07-07 14:18:12 +08:00
ulleo 4af99e0c45 feat: support configuring terminology for specified advanced applications 2026-06-16 17:23:50 +08:00
wangjiahao 2da3ae4111 fix: Extend sys_logs user_agent column length to support DingTalk agent (#1170)
The DingTalk agent sends user_agent strings that exceed the previous
255-character limit, causing log entries to be silently dropped.
Increase the column to VARCHAR(500).
2026-06-09 14:44:38 +08:00
ulleo 74fe71dd0a feat(Application): Application can configure specified model 2026-06-02 14:08:47 +08:00
ulleo 387731236e feat(Application): Application can configure specified model 2026-04-30 15:23:32 +08:00
junjun d9129073b9 feat: support system variable 2026-02-05 10:15:46 +08:00
ulleo 8a1a9e01d3 feat: add chat log step display
#324
#742
2026-01-29 16:53:47 +08:00
ulleo 37afb2da21 feat: add more chat log operation steps 2026-01-28 11:10:41 +08:00
fit2cloud-chenyw 87931547b2 perf: Optimize Assistant Application Migration Script 2026-01-28 09:41:31 +08:00
fit2cloud-chenyw e54a5fe46f perf: Place the assistant menu in the workspace 2026-01-09 17:40:42 +08:00
fit2cloud-chenyw 9112d2f6f0 feat: Wecom and dingtalk support 2026-01-05 17:54:36 +08:00
wangjiahao f609dc2856 refactor: update log management 2025-12-30 14:26:31 +08:00
wangjiahao 19e9058056 fix: No need to call the model to recommend problems during each session switch 2025-12-29 20:14:25 +08:00
王嘉豪 a91a4b7f68 refactor: update ddl (#684) 2025-12-25 13:32:26 +08:00
fit2cloud-chenyw 1190bc3954 perf: Optimizing API Key Authentication 2025-12-23 16:18:57 +08:00
王嘉豪 f1cdbc9a00 feat: Support recording system operation logs (#651) 2025-12-22 17:34:01 +08:00
ulleo 4d49819533 feat: improve regenerate SQL chat feature 2025-12-11 16:22:33 +08:00
王嘉豪 60f2d1b928 style: update style (#544) 2025-12-02 15:43:15 +08:00
王嘉豪 9d494345b2 feat:Recommended questions support user configuration. (#487) 2025-11-25 13:54:40 +08:00
ulleo a57ea81130 feat: Advanced Application support to use SQL Examples 2025-11-11 12:03:29 +08:00
ulleo 451e843473 feat: Terminology / SQL Sample Management add enabled control 2025-11-06 14:55:59 +08:00
fit2cloud-chenyw 4c8b463df5 feat(X-Pack): Add CAS Authentication Mechanism 2025-11-04 17:26:00 +08:00
junjun b1dda8b454 feat: Vector retrieval matches tables 2025-10-10 12:39:37 +08:00
junjun c54902e15c feat: Vector retrieval matches tables 2025-10-09 14:06:19 +08:00
junjun 444fb82cdc feat: Vector retrieval matches tables 2025-10-09 11:48:14 +08:00
ulleo 75bd13a54f feat(X-Pack): add custom prompt
#213
2025-09-28 19:19:48 +08:00
ulleo 4ecfb5b116 feat: terminology settings add datasource
#127
2025-09-25 15:43:40 +08:00
junjun 9db73d3d2f feat: add table relation 2025-09-24 14:33:27 +08:00
junjun f52178f0c4 refactor: modify datasource table field type 2025-09-22 17:27:38 +08:00
junjun 2b220eb9e1 refactor: modify datasource table field type 2025-09-22 17:15:44 +08:00
ulleo f86b2f60cf feat: add SQL examples in prompt 2025-09-16 18:08:53 +08:00
ulleo dc4a7380ba feat: terminology add oid 2025-08-28 19:01:05 +08:00
fit2cloud-chenyw 79f7630537 perf: Encryption of sensitive data in ai_model table #9 2025-08-27 17:44:34 +08:00
ulleo 393fd8c5b5 feat: add terminology management 2025-08-25 16:34:44 +08:00
ulleo 667536e16c feat: improve chat log table structure 2025-08-21 14:52:36 +08:00
fit2cloud-chenyw 329cf74456 feat(X-Pack): Page embedding feature 2025-08-19 17:58:46 +08:00
fit2cloud-chenyw 25c9606fbc perf(X-Pack): Optimize appearance-related configuration APIs 2025-08-15 17:45:44 +08:00
junjun dead2f1a85 feat: Maintain the order of table fields 2025-08-08 11:38:28 +08:00
junjun 98bc8a51bb feat: permission json to text 2025-08-05 11:00:18 +08:00
junjun f1146f297e feat: permission json to text 2025-08-05 10:38:33 +08:00
fit2cloud-chenyw 80484c3c5c perf: Support not only pgsql but mysql 2025-08-04 18:21:55 +08:00
fit2cloud-chenyw 63a1d1fe7d feat: Log file 2025-07-23 15:59:23 +08:00
fit2cloud-chenyw aeee30e5a9 perf: Chat origin 2025-07-22 22:28:59 +08:00
fit2cloud-chenyw a6360ac3e0 perf: Assistant description 2025-07-22 16:05:36 +08:00
ulleo 6d771a450e fix: chat record save error 2025-07-21 17:29:20 +08:00
junjun 4c29fc1a38 feat: permission schema 2025-07-21 15:14:21 +08:00
ulleo d1b5b05810 feat: chat 2025-07-17 17:07:52 +08:00