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
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
lexluo09
4eb6193699
(improvement)(chat) Integrate llm configuration into system settings. ( #1403 )
2024-07-14 14:47:17 +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
e365a36749
(improvement)(headless)Remove mapper related configs from system configuration UI.
2024-07-12 15:16:01 +08:00
jerryjzhang
5bf4a4160d
(fix)(chat&headless)Agent references ChatModelConfig instead of ModelConfig.
2024-07-12 14:15:54 +08:00
jerryjzhang
37da1ac2ae
(improvement)(chat)Enable memory directly if the review result by LLM is positive.
2024-07-12 09:59:58 +08:00
jerryjzhang
41ad1ada6c
(fix)(headless)Fix checkstyle issues following #1395 .
2024-07-11 20:49:25 +08:00
21Janur
f9d6ea11c5
(improvement)(headless)Improve dataset time query judgment ( #1395 )
...
(improvement)(headless)Improve dataset time query judgment
The official document describes that if you do not want to add a time limit, please set the time to -1, but it has not taken effect. During LLM parsing, the parameters passed to the model still default to the date parameter. Now change to include the date parameter only when [unit!=-1 '] is checked in the dataset query settings
2024-07-11 20:44:05 +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
lexluo09
4d7bfe07aa
(improvement)(chat) Support embedding store configuration. ( #1363 )
2024-07-07 00:30:19 +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
lexluo09
6db6aaf98d
(improvement)(chat) Support configuring embeddingModel or embeddingStore at the agent level. ( #1361 )
2024-07-06 20:44:23 +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
72465cd88c
# This is a combination of 2 commits.
...
(feature)(headless)Support custom prompt template. #1348 .
2024-07-05 15:30:52 +08:00
lexluo09
097f2f4fe7
(improvement)(chat) Support additional operators in QueryFilter correction. ( #1347 )
2024-07-05 13:20:40 +08:00
jerryjzhang
14b9086d83
(improvement)(headless)Remove LLMProxy abstraction as not needed any more.
2024-07-05 10:24:09 +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
JackLiang
ccf41fa6db
fix outofindexexception bug ( #1325 )
2024-07-02 14:45:31 +08:00