Jun Zhang
593597fe26
Refactor translator module ( #1932 )
...
* [improvement][Chat] Support agent permission management #1143
* [improvement][chat]Iterate LLM prompts of parsing and correction.
* [improvement][headless]Clean code logic of headless core.
* (fix) (chat) 记忆管理更新不生效 (#1912 )
* [improvement][headless-fe] Added null-check conditions to the data formatting function.
* [improvement][headless]Clean code logic of headless translator.
* [improvement][headless-fe] Added permissions management for agents.
* [improvement][headless-fe] Unified the assistant's permission settings interaction to match the system style.
* [improvement](Dict)Support returns dict task list of dimensions by page
* [improvement][headless-fe] Revised the interaction for semantic modeling routing and implemented the initial version of metric management switching.
* [improvement][launcher]Set system property `s2.test` in junit tests in order to facilitate conditional breakpoints.
* [improvement][headless] add validateAndQuery interface in SqlQueryApiController
* [improvement][launcher]Use API to get element ID avoiding hard-code.
* [improvement][launcher]Support DuckDB database and refactor translator code structure.
---------
Co-authored-by: lxwcodemonkey <jolunoluo@tencent.com >
Co-authored-by: tristanliu <tristanliu@tencent.com >
Co-authored-by: daikon12 <1059907724@qq.com >
Co-authored-by: lexluo09 <39718951+lexluo09@users.noreply.github.com >
2024-11-30 00:27:33 +08:00
Jun Zhang
cb183b7ac8
[improvement][Chat] Support agent permission management ( #1923 )
...
* [improvement][Chat] Support agent permission management #1143
* [improvement][chat]Iterate LLM prompts of parsing and correction.
* [improvement][headless-fe] Added null-check conditions to the data formatting function.
* [improvement][headless]Clean code logic of headless translator.
---------
Co-authored-by: lxwcodemonkey <jolunoluo@tencent.com >
Co-authored-by: tristanliu <tristanliu@tencent.com >
2024-11-23 09:09:04 +08:00
Jun Zhang
e8c9855163
[improvement][launcher]Clean code logic of s2demos and remove tag-related constructs.
2024-11-16 17:23:35 +08:00
LXW
87729956e8
(improvement)(Headless) Refactor the SemanticModeller to rule first and then llm, and automatically infer field types in the rule method. ( #1900 )
...
Co-authored-by: lxwcodemonkey
2024-11-11 00:10:58 +08:00
jerryjzhang
1e5bf7909e
[improvement][headless]Deprecate and remove entity-related abstraction and logic.#1876
2024-11-04 09:53:18 +08:00
jipeli
0cb1faaf53
(improvement)(Headless) Fixed duplicate fields error ( #1870 )
2024-10-31 22:46:46 +08:00
jipeli
858feb9c3c
(improvement)(Headless) define the measure without agg funciton by the model ( #1864 )
2024-10-30 22:13:13 +08:00
jerryjzhang
53ddc67262
[improvement][chat]Sort parses in NL2SQLParser right after rule-based parsing.
2024-10-29 23:31:02 +08:00
jerryjzhang
b3d4440781
[improvement][chat]Support user feedback to multiple candidate semantic parses.#1847
2024-10-28 17:31:33 +08:00
lexluo09
ee4b218a1e
[improvement][chat] Fix the issue of HDFS path concatenation ( #1820 )
2024-10-17 14:12:12 +08:00
LXW
c8d2d75ad5
(fix)(Headless) Fix getting tables and columns failed from h2 db ( #1818 )
...
Co-authored-by: lxwcodemonkey
2024-10-17 11:16:11 +08:00
lexluo09
fc94a6718b
[improvement][headless] Fix the issue of retrieving empty table information in H2 ( #1789 )
2024-10-12 14:11:54 +08:00
jipeli
50b0036d0f
[improvement][headless] Fix permission exception loss ( #1764 ) ( #1782 )
2024-10-11 12:00:41 +08:00
jerryjzhang
27e654a873
[improvement][headless-chat]Prompt LLM to generate with SQL statement to handle secondary calculation scenario.#1718
2024-10-08 17:39:10 +08:00
zhaodongsheng
806fb64beb
(fixed)修正复合指标引用同一原子指标,替换时BUG ( #1743 )
2024-10-08 15:34:43 +08:00
lexluo09
71a9954be5
(improvement)[build] Use Spotless to customize the code formatting ( #1750 )
2024-10-04 00:05:04 +08:00
lexluo09
8693e7f8a7
[improvement][headless] In the translator, adopt Calcite to support multiple WITH structures and optimize the Calcite code. ( #1747 )
2024-09-30 18:53:27 +08:00
flyingfish
77b6642dcc
(improvement)(headless) Develop a time format conversion function for adapting to PostgreSQL database, capable of supporting data aggregation by week and month
2024-09-28 09:31:18 +08:00
jerryjzhang
cd08cf51c5
[improvement][project]Use DatePeriodEnum to replace DAY/MONTH/YEAR period constants.
2024-09-22 17:14:55 +08:00
jerryjzhang
ae889bb0ae
[improvement][project]Optimize certain code structures.
2024-09-21 18:13:31 +08:00
jipeli
5f4d24348a
[improvement][headless] fix queryData by dimension error ( #1666 )
2024-09-13 14:37:14 +08:00
lexluo09
5f59e89eea
(improvement)(build) Add spotless during the build process. ( #1639 )
2024-09-07 00:36:17 +08:00
LXW
d8f167976c
(improvement)(headless) Remove wallFilter in druidDataSource to support more dbType ( #1613 )
...
Co-authored-by: lxwcodemonkey
2024-08-30 00:52:50 +08:00
lexluo09
371e2f1e05
(improvement)(chat) The rules will uniformly use 'data date' and exclude data partition dimensions for dimension pushdown. ( #1598 )
2024-08-23 17:38:04 +08:00
yudong
ebea58098c
[fix][headless]获取数据表列表时指定数据库( #1555 ) ( #1556 )
...
Co-authored-by: 王玉东
2024-08-13 10:11:48 +08:00
LXW
95be7f3ce1
(improvement)(headless) Opt encrypt database password, avoid repeated decryption.( #1326 ) ( #1562 )
...
Co-authored-by: lxwcodemonkey
2024-08-13 10:10:52 +08:00
jipeli
d32d791238
(fix)(headless)Fix sql quoted case #1452 ( #1561 )
2024-08-12 20:02:48 +08:00
LXW
1ff4a71a41
(improvement)(headless) Encrypt database password ( #1553 )
...
* (improvement)(headless) Encrypt database password
---------
Co-authored-by: lxwcodemonkey
2024-08-12 00:37:32 +08:00
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
ylhh353
e88e381302
An error occurs when the time expression contains keywords ( #1527 )
2024-08-09 10:13:01 +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
LXW
c8fe6d2d04
(improvement)(headless) support more db type ( #1511 )
...
Co-authored-by: lxwcodemonkey
2024-08-06 20:24:49 +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
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
jipeli
12a504585f
(fix)(headless) fix db parse error ( #1477 ) ( #1492 )
2024-07-30 20:34:27 +08:00
jerryjzhang
ccd79e4830
[improvement][headless]Optimize code structure and code style.
2024-07-28 10:06:16 +08:00
HweiH
3797cc2ce8
[Enhancement] 升级底层 Spring Boot 版本至 2.7.2 ( #1367 ) ( #1435 )
2024-07-20 14:38:46 +08:00
jerryjzhang
7a376bd9a3
(improvement)(headless)Remove unnecessary sourceId from TranslateResp.
2024-07-09 10:35:08 +08:00
jerryjzhang
bb4cd880b0
(improvement)(headless)Normalize space SQL strings in the log messages.
2024-07-04 20:09:24 +08:00
jerryjzhang
38b4154b9e
(improvement)(headless)Opt logging messages to make it cleaner.
2024-06-30 13:16:39 +08:00
二毛
3e8283a7b6
Fix milvus dependency conflict ( #1246 )
2024-06-28 14:14:04 +08:00
lexluo09
bbd61ac937
(improvement)(config) Split the application-local.yml file based on functionality. ( #1250 )
2024-06-27 16:56:16 +08:00
jerryjzhang
57a727bdff
(fix)(common)Make sure system exemplar gets loaded before demo chats.
2024-06-27 11:50:05 +08:00
lexluo09
7c711f6105
(improvement)(project) Remove additional logging dependencies and use logback as the primary logging framework. ( #1235 )
2024-06-27 09:39:26 +08:00
jipeli
db9a3fa056
(improvement)(headless) performParsed skip translation ( #1222 )
2024-06-25 20:40:41 +08:00
jerryjzhang
e9230b5421
(improvement)(headless)Reduce level of several logs, avoiding too verbase.
2024-06-22 13:16:03 +08:00
jerryjzhang
e293be3ebf
(improvement)(headless)Refactor headless to abstract SemanticTranslator explicitly.
2024-06-22 00:00:14 +08:00
lexluo09
92db381b6f
(improvement)(common) Upgraded langchain4j to version 0.31. ( #1174 )
2024-06-20 17:31:19 +08:00
jipeli
9e72d239f1
(improvement)(headless) refactor duck source configure ( #1170 )
2024-06-20 14:24:18 +08:00