18 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 4af99e0c45 feat: support configuring terminology for specified advanced applications 2026-06-16 17:23:50 +08:00
ulleo 387731236e feat(Application): Application can configure specified model 2026-04-30 15:23:32 +08:00
ulleo 4d49819533 feat: improve regenerate SQL chat feature 2025-12-11 16:22:33 +08:00
ulleo 451e843473 feat: Terminology / SQL Sample Management add enabled control 2025-11-06 14:55:59 +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 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 393fd8c5b5 feat: add terminology management 2025-08-25 16:34:44 +08:00
fit2cloud-chenyw 63a1d1fe7d feat: Log file 2025-07-23 15:59:23 +08:00
ulleo d9aea1c742 feat: data analysis 2025-06-19 18:04:10 +08:00
junjun cc19a8430b fix: code error 2025-06-04 12:37:34 +08:00
wangjiahao 866344b26b feat: dashboard preview 2025-06-03 18:36:01 +08:00
ulleo e279ae4a36 feat: Q&A Chat 2025-05-23 13:55:23 +08:00
junjun ddbe612fb6 feat: add project path to python path 2025-04-25 20:47:26 +08:00
fit2cloud-chenyw 23474a2422 feat: Terminology module 2025-04-25 17:52:58 +08:00
fit2cloud-chenyw 051507504b feat: Login api 2025-04-23 21:14:42 +08:00