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
743750305d
feat: MCP support model
2026-08-18 15:43:28 +08:00
ulleo
e58d1822dc
feat: optimize chat list sorting
2026-07-30 16:52:46 +08:00
ulleo
ce3ea977ae
fix: delete chat error when chat title contains '/' character
...
#1232
2026-07-07 15:19:42 +08:00
junjun
d41598eea5
feat: Adjust the organizational attribution logic of dialogues in MCP #1221
2026-06-29 15:28:18 +08:00
ulleo
b472bc0977
fix: improve docs
...
#1183
2026-06-10 11:45:35 +08:00
ulleo
afbb3d7981
feat: Support configure SQLBot name in chat template
2026-05-08 17:11:16 +08:00
yym and Claude 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
ulleo
bc984c0c26
feat(System): Language switch, supports Traditional Chinese.
2026-04-28 15:00:46 +08:00
ulleo
44ab276aaa
feat(System): Language switch, supports Traditional Chinese.
2026-04-20 15:54:15 +08:00
ulleo
882d0e6e89
feat: improve generate sql/chart quality
2026-04-08 16:57:10 +08:00
ulleo
594df91235
feat: improve generate sql quality
2026-04-07 19:06:17 +08:00
junjun
b05d90c6c8
feat: MCP supports configuration to disable rendering charts
2026-03-30 10:47:12 +08:00
junjun
49b08b07dd
feat: MCP supports selecting workspaces #926
2026-03-24 16:00:41 +08:00
junjun
f6a0a5bb4d
feat: MCP supports selecting workspaces #926
2026-03-24 14:01:03 +08:00
王嘉豪
9dccaf12d1
feat(dashboard): The dashboard supports displaying real-time data ( #930 )
2026-02-28 14:53:51 +08:00
ulleo
d5e54f86b1
feat: support specifying datasource ID in MCP question
2026-02-02 16:07:24 +08:00
ulleo
733227dfe1
feat: add chat log step display
...
#324
#742
2026-01-29 17:09:58 +08:00
ulleo
8a1a9e01d3
feat: add chat log step display
...
#324
#742
2026-01-29 16:53:47 +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
ulleo
0dc289956b
feat: improve chart field name matching with original table structure
2026-01-22 14:30:58 +08:00
ulleo
3184b6629e
feat: support specifying datasource ID in MCP question
2026-01-21 16:36:26 +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
19997cf2d4
improve: add lang parameter in mcp chat
2025-12-25 17:22:03 +08:00
ulleo
c6403fae78
feat: improve SQL template
2025-12-16 18:57:14 +08:00
ulleo
4d49819533
feat: improve regenerate SQL chat feature
2025-12-11 16:22:33 +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
wangjiahao
2b13dc7f93
refactor: Recommended questions display ten by default.
2025-12-01 16:52:41 +08:00
王嘉豪
e881b3ef47
feat:The generation of dialogue titles is intelligently generated by LLM ( #494 )
2025-11-26 10:37:44 +08:00
ulleo
7b3b45e374
perf: improve generate Oracle SQL
2025-11-25 15:52:51 +08:00
ulleo
85b19fb40b
perf: improve generate Oracle SQL
2025-11-24 18:57:50 +08:00
ulleo
07b4d9ef3b
feat: improve generate sql template
2025-10-23 13:56:28 +08:00
ulleo
55fb063f6e
feat: improve generate sql template
...
1.Add parameter: GENERATE_SQL_QUERY_LIMIT_ENABLED (default value is True to control data return Limit 1000 rows)
2.Use different SQL example templates based on different data sources.
2025-10-15 18:34:47 +08:00
ulleo
75bd13a54f
feat(X-Pack): add custom prompt
...
#213
2025-09-28 19:19:48 +08:00
ulleo
07b90b9baa
feat: MCP mcp/mcp_assistant support param to disable streaming
2025-09-23 11:36:37 +08:00
ulleo
dca52ce1b2
feat: MCP mcp/mcp_question support param to disable streaming
2025-09-22 18:35:38 +08:00
junjun
04d463886c
feat: MCP support get third-part system datasource
2025-09-22 14:57:51 +08:00
ulleo
f86b2f60cf
feat: add SQL examples in prompt
2025-09-16 18:08:53 +08:00
ulleo
881dbfc8d8
feat: support carry last execute SQL error info to AI
2025-09-04 17:38:53 +08:00
ulleo
8a03ea81e1
feat: improve chat template
2025-08-28 15:59:43 +08:00
ulleo
4faa2bd689
feat: use terminology during chat
2025-08-27 14:29:18 +08:00
ulleo
667536e16c
feat: improve chat log table structure
2025-08-21 14:52:36 +08:00
ulleo
3fc3f5d505
feat: export chart
2025-08-04 19:51:42 +08:00
junjun
9fa388c0ea
feat: mcp
2025-07-31 10:01:40 +08:00
fit2cloud-chenyw
eda163c806
feat: Execute with custom sql dataset
2025-07-30 08:52:17 +08:00
ulleo
e575551236
fix: chat generate sql error
2025-07-29 10:17:51 +08:00
ulleo
fc5fdb79ab
feat: chat template i18n
2025-07-28 18:01:39 +08:00
junjun
13dbe95ed0
feat: mcp param desc
2025-07-28 17:38:22 +08:00