Commit Graph

618 Commits

Author SHA1 Message Date
lexluo09
2f2f493d17 (improvement)(headless) When performing semantic modeling, support simultaneous querying of both TABLE and VIEW. (#1551) 2024-08-11 00:08:32 +08:00
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
jerryjzhang
68952fdb55 Merge remote-tracking branch 'origin/master' 2024-08-10 18:28:04 +08:00
jerryjzhang
ba9e6afa51 (improvement)(headless)Introduce DetailDimensionQuery as a type of rule-based parsing query. 2024-08-10 18:27:50 +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
jerryjzhang
ecc651e12d (improvement)(headless)Optimize Text2SQL prompt, explicitly ask LLM not hallucinate columns. 2024-08-09 19:27:38 +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
ylhh353
e88e381302 An error occurs when the time expression contains keywords (#1527) 2024-08-09 10:13:01 +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
9dbc8657e2 (improvement)(chat) When making corrections, the 'group by' field must not be included in the function. (#1532) 2024-08-07 23:08:43 +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
yudong
89b028b594 [fix][headless]指定不限制数据集查询范围时时Detail类型也不再额外增加限制 (#1514) 2024-08-06 14:06:40 +08:00
lexluo09
0a4272c25e (improvement)(chat) Enable partition dates in the demo and support partition dates at the dataset granularity. (#1513) 2024-08-04 23:01:54 +08:00
lexluo09
e2e45a40ab (improvement)(chat) Decide whether to add or remove dates based on whether the dataset has partition dates. (#1512) 2024-08-04 17:39:23 +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
lexluo09
a9232fa1c7 (improvement)(chat) Optimize and fix the NatureHelper code. (#1510)
Co-authored-by: lexluo <lexluo@tencent.com>
2024-08-03 23:52:52 +08:00
yudong
53a9f7c451 [improvement][headless&chat]当LLM生成SQL包含日期类型字段时,Correcter不再额外增加日期 (#1473) 2024-08-02 14:14:29 +08:00
lexluo09
cabcbf16ff (improvement)(project) Fix the issue of occasional failure in the TagTest unit test. (#1500) 2024-08-01 20:05:54 +08:00
ylhh353
5a18ad5229 [improvement][headless-chat] improvement sql generation ``` (#1498) (#1499) 2024-08-01 20:04:11 +08:00
S-robot-98
ddd44f343a fix:Solve the problem of conflicts between indicators and dimensions in indicator exploration. (#1493)
* fix:1.解决指标探索中指标与维度冲突的问题2.解决维度值分布因时间筛选无法查询查到数据的问题

* fix:恢复时间筛选

---------

Co-authored-by: sunhan <sunhan19981031@163.com>
2024-07-31 17:32:01 +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
12a504585f (fix)(headless) fix db parse error (#1477) (#1492) 2024-07-30 20:34:27 +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
jerryjzhang
23af977972 (fix)(headless)Fix default date calculation. #1471 2024-07-30 09:54:58 +08:00
LXW
9a14728152 (fix)(headless) Fix queryText replaced when semantic retrieval to term descriptions (#1469)
Co-authored-by: lxwcodemonkey
2024-07-29 10:18:58 +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
JackLiang
8f620480c6 fix:加载模型到内存时内存泄露bug (#1465)
* fix existSegment bug which embedding search not has min-score,so that it will return true.
2024-07-26 18:07:49 +08:00
jerryjzhang
f38a84bc8c (improvement)(headless)Reformat data semantics in the prompt. 2024-07-26 14:08:20 +08:00
jerryjzhang
cd8f38c334 (improvement)(headless)Move Values from sideInfo to schema part of the prompt and optimize prompt text. 2024-07-26 10:54:30 +08:00
lexluo09
ae34c15c95 (improvement)(chat) Improve vector recall performance. (#1458) 2024-07-25 22:19:35 +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
HweiH
3797cc2ce8 [Enhancement] 升级底层 Spring Boot 版本至 2.7.2 (#1367) (#1435) 2024-07-20 14:38:46 +08:00
jerryjzhang
2425067091 (improvement)(common)Rename SqlExemplar to Text2SQLExemplar. 2024-07-18 14:19:56 +08:00
jerryjzhang
2eac301076 (improvement)(headless)Introduce side_information to the prompt and exemplar. 2024-07-18 11:29:07 +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