Commit Graph

487 Commits

Author SHA1 Message Date
jerryjzhang
b13b38c645 (fix)(headless)Fix demo conversations with DETAIL query mode.
(fix)(headless)Fix demo conversations with DETAIL query mode.
2024-08-10 23:19:46 +08:00
lexluo09
e586d887ed (improvement)(chat) If no partition date is configured, remove the date passed from the frontend. (#1547) 2024-08-09 20:23:14 +08:00
LXW
24c63c93bb (fix)(headless) Fix domain set NoClassDefFoundError:org/assertj/core/util/sets (#1542)
Co-authored-by: lxwcodemonkey
2024-08-09 11:02:37 +08:00
jerryjzhang
f06cd0b296 (improvement)(headless)Decrease the number of database queries to the s2_domain table. #1472 2024-08-08 20:59:31 +08:00
lexluo09
cdb67650c5 (improvement)(chat) The existing data uses partition_time for time, resolving the issue of models being unable to query. (#1536) 2024-08-08 15:31:53 +08:00
jerryjzhang
794a448619 (improvement)(headless)Decrease the number of database queries to the s2_tag table. 2024-08-08 13:56:59 +08:00
lexluo09
b8aeff9a6a (improvement)(headless) If no time partition is configured, the metric market does not support querying by time (#1531) 2024-08-07 22:41:04 +08:00
LXW
82f86a8635 (improvement)(headless) Fix dimension value intelligent fill error (#1530)
Co-authored-by: lxwcodemonkey
2024-08-07 22:24:01 +08:00
lexluo09
3d1ca6ac1d (improvement)(chat) Optimize the code for the queryData and queryDimensionValue interfaces. (#1529) 2024-08-07 20:56:13 +08:00
lexluo09
208686de46 (improvement)(chat) Rules, large models, and query dimension values support timelessness. (#1522) 2024-08-07 13:29:07 +08:00
LXW
c8fe6d2d04 (improvement)(headless) support more db type (#1511)
Co-authored-by: lxwcodemonkey
2024-08-06 20:24:49 +08:00
jipeli
5ad8ac69ab (fix)(headless) fix sql grammar error (#1516) (#1519) 2024-08-06 18:33:26 +08:00
lexluo09
3621766a0d (improvement)(chat) Support compatibility for handling historical primary and foreign data. (#1517) 2024-08-06 14:45:49 +08:00
LXW
97bf8049d7 (improvement)(headless) Divide dimensions into four types: identify, category, time and partition time (#1509)
Co-authored-by: lxwcodemonkey
2024-08-03 23:56:29 +08:00
yudong
53a9f7c451 [improvement][headless&chat]当LLM生成SQL包含日期类型字段时,Correcter不再额外增加日期 (#1473) 2024-08-02 14:14:29 +08:00
jerryjzhang
4a5bb9e457 (fix)(headless)Fix multi-turn conversation issue, recalling history ChatQuery instead of ChatParse. 2024-07-30 21:57:44 +08:00
jipeli
52a584b9a4 (fix)(headless) add model bizName check , fix identifier parse error (#1485) (#1487) 2024-07-30 17:23:18 +08:00
lexluo09
9a1fac5d4c (improvement)(chat) Reduce frequent loading of embedding models to improve loading performance. (#1478) 2024-07-30 11:25:03 +08:00
LXW
26f682cc45 (improvement)(headless) Add semantic retrieval to term descriptions and extract relevant semantic information (#1468)
Co-authored-by: lxwcodemonkey
2024-07-29 09:15:18 +08:00
jerryjzhang
ccd79e4830 [improvement][headless]Optimize code structure and code style. 2024-07-28 10:06:16 +08:00
jerryjzhang
e5504473a4 [improvement][headless&chat]Move EntityInfoProcessor from chat to headless module and optimize code.
[improvement][headless&chat]Move `EntityInfoProcessor` from `chat` to `headless` module and optimize code.
2024-07-27 18:10:06 +08:00
jerryjzhang
c39460ee02 (improvement)(headless)Add alias of metrics & dimensions to the schema part of the prompts. 2024-07-24 20:20:11 +08:00
LXW
8f55fa0c1e (improvement)(headless) Remove the restriction that the time dimension is required when creating data model (#1446)
Co-authored-by: lxwcodemonkey
2024-07-22 22:49:58 +08:00
S-robot-98
f03e5a0d38 fix:指标别名、维度别名、维度值别名智能填充添加标准回答示例,对大模型返回结果添加后处理,使用String.valueOf解决维度值为数… (#1431)
* fix:指标别名、维度别名、维度值别名智能填充添加标准回答示例,对大模型返回结果添加后处理,使用String.valueOf解决维度值为数值时无法维度值智能填充的问题

* fix:解决checkstyle错误

---------

Co-authored-by: sunhan
2024-07-22 22:46:14 +08:00
lexluo09
d64ed02df9 (improvement)(chat) Remove langchain4j configuration file and perform all configuration for the large model through the UI interface. (#1442) 2024-07-20 21:30:46 +08:00
jerryjzhang
ff38a6d250 (improvement)(headless)Restructure to remove web parent package. 2024-07-16 17:59:26 +08:00
jerryjzhang
782b768950 (improvement)(headless&chat)The Chat module only references facade service of the Headless module. 2024-07-16 17:53:01 +08:00
jerryjzhang
1c0b8f8161 (improvement)(headless)Restructure facade and expose only ChatLayerService and SemanticLayerService. 2024-07-16 17:41:20 +08:00
lexluo09
d5c78d87e7 (improvement)(chat) Support integrating embeddingStore into system settings. (#1405) 2024-07-14 21:50:12 +08:00
LXW
407c8d4702 (improvement)(Headless) Refactor ChatLayerService and SemanticLayerService (#1404)
Co-authored-by: lxwcodemonkey
2024-07-14 11:23:47 +08:00
jerryjzhang
baff30550e (improvement)(headless&chat)Move ChatContext from Headless module to Chat module. 2024-07-12 19:50:12 +08:00
jerryjzhang
d6c5702b5a (feature)(chat)Rewrite error message to make it more understandable to the user. #1320 2024-07-11 20:33:32 +08:00
jerryjzhang
e041fcb37e Merge remote-tracking branch 'origin/master' 2024-07-10 21:08:14 +08:00
jerryjzhang
9bb95ca4be (feature)(chat)Add switch to enable LLM-based memory review, as it leads to more token costs. #1385 2024-07-10 21:08:02 +08:00
red-delia
76fb3cb4a2 解决“智能填充”功能只能填充演示数据,不能对后续添加的数据集进行智能填充的问题 (#1376) 2024-07-10 20:43:57 +08:00
jerryjzhang
78a91ad8c2 (improvement)(headless)Modify text2sql prompts to remove dependency on datediff, thus avoiding SQL compatibility issues. #1391 2024-07-10 20:32:12 +08:00
jerryjzhang
d3f3fc5de3 (improvement)(headless)Rename contextModel to contextDataset 2024-07-10 09:41:56 +08:00
jerryjzhang
ea4aa3eacf (improvement)(headless)Remove unnecessary performExecution method from ChatQueryService. 2024-07-09 17:37:36 +08:00
jerryjzhang
f0b4eb46cf (improvement)(headless)Remove unnecessary TranslateSqlReq, use SemanticQueryReq instead. 2024-07-09 11:28:43 +08:00
jerryjzhang
7a376bd9a3 (improvement)(headless)Remove unnecessary sourceId from TranslateResp. 2024-07-09 10:35:08 +08:00
jerryjzhang
c9c049a20f (improvement)(headless)Use StringUtils in place of Strings. 2024-07-09 09:33:32 +08:00
jerryjzhang
efd617b2e5 (improvement)(headless)Rename QueryTextReq to QueryNLReq to explicitly reflect natural language concept. 2024-07-08 10:20:20 +08:00
LXW
9911e6772c (improvement)(auth) Make row permissions take effect during the translate sql phase and refactor the auth code (#1368)
Co-authored-by: lxwcodemonkey
2024-07-07 20:46:53 +08:00
jerryjzhang
64786cb0ef (improvement)(headless)Add explicit TRANSLATING stage and rename several classes by the way. 2024-07-07 09:30:32 +08:00
jerryjzhang
e0e77a3b64 (improvement)(headless&chat)Execute against SemanticLayerService instead of ChatQueryService in chat-server and rename several classes by the way. 2024-07-06 23:32:59 +08:00
LXW
16c3ff0c30 (improvement)(headless) MetricDrillDownChecker compatible with the case where SQL is empty (#1357)
Co-authored-by: lxwcodemonkey
2024-07-05 18:18:05 +08:00
LXW
7c86e2b3db (improvement)(headless) Refactor MetricDrillDownChecker code (#1356)
Co-authored-by: lxwcodemonkey
2024-07-05 17:56:17 +08:00
jerryjzhang
bb4cd880b0 (improvement)(headless)Normalize space SQL strings in the log messages. 2024-07-04 20:09:24 +08:00
daikon
d200086779 Opt tag distribution (#1340) 2024-07-03 13:04:20 +08:00
daikon
9cd352f146 Add dict date (#1331) 2024-07-02 18:46:05 +08:00