Commit Graph

465 Commits

Author SHA1 Message Date
jerryjzhang
d89d6661a9 [improvement][headless]Format the Text2SQL prompt to make it more readable. 2024-09-13 09:31:50 +08:00
yudong
0ff31ddf61 (improvement)(chat) 优化提示工程、重试机制 (#1658) 2024-09-13 09:25:55 +08:00
jerryjzhang
37f12391b0 [improvement][headless]Add databaseType into the Schema part of the Text2SQL prompt. #1621 2024-09-12 23:20:49 +08:00
SuperLiChaoRen
47cc933aec (fix)(headless)When reload dictWord, the old data was not cleared (#1659) 2024-09-12 22:27:17 +08:00
jerryjzhang
c99d240b65 [improvement][headless]Restructure LLMReq and LLMSchema. 2024-09-12 20:10:17 +08:00
lexluo09
4b1dab8e4a (improvement)(headless) Upgrade to the latest version of langchain4j and add support for embedding deletion operation and reset. (#1660) 2024-09-12 18:16:16 +08:00
jerryjzhang
693356e46a [improvement][headless]Add metricFormat field to metric metadata of the Text2SQL prompt. #1621 2024-09-12 18:13:44 +08:00
jerryjzhang
2fa3bfe019 (improvement)(headless)Add timeFormat to dimension metadata of the Text2SQL prompt.
(improvement)(headless)Add `timeFormat` to dimension metadata of the Text2SQL prompt. #1621.
2024-09-12 10:03:24 +08:00
lexluo09
ff0833ddfa [improvement](headless) Optimize the reload embedding interface (#1655) 2024-09-11 22:52:46 +08:00
jerryjzhang
82b5fa966a [improvement][headless]Add partitionTime and primaryKey field into the Schema part of the Text2SQL prompt. #1621 2024-09-11 21:29:37 +08:00
lexluo09
fb96ce5843 [improvement](chat) Use the word-based approach for comparing Schema Mapping rules and fix the issue where the results were not being modified. (#1650) 2024-09-10 23:21:12 +08:00
lexluo09
879696e493 [improvement](chat) Optimize the Schema Mapping rules (#1649) 2024-09-10 22:58:34 +08:00
lexluo09
183caf7931 [improvement](chat) Refactor the code for the Map phase (#1646) 2024-09-10 17:19:05 +08:00
lexluo09
5f59e89eea (improvement)(build) Add spotless during the build process. (#1639) 2024-09-07 00:36:17 +08:00
jerryjzhang
ee15a88b06 (improvement)(headless)Refactor the prompts for generating semantic aliases. 2024-09-06 17:55:33 +08:00
lexluo09
45777f0abc (improvement)(headless) Optimized the code for populating column information and resolved the issue with number type fields (#1633) 2024-09-05 17:44:37 +08:00
lexluo09
1b6277e53f (improvement)(chat) Fixed the NullPointerException issue in DimensionRecommendProcessor (#1629) 2024-09-04 22:46:38 +08:00
LXW
5eb0a7a5c5 (improvement)(headless) When obtaining the domain list, do not obtain the sub-domain (#1628)
Co-authored-by: lxwcodemonkey
2024-09-04 21:42:16 +08:00
SuperLiChaoRen
37438e7731 (fix)(headless)Restore the permissions management menu of the administrator's theme domain (#1626) 2024-09-04 16:39:57 +08:00
lexluo09
7e45ab675e (improvement)(headless) ClickHouse also adopts a connection-based approach, and the package path issue in UserRepositoryImpl has been fixed (#1622) 2024-09-03 13:14:40 +08:00
yudong
14177e265f (fix)(headless) 修复LLM问题变成术语的问题 (#1617)
Co-authored-by: wangyudong
2024-09-02 21:41:19 +08:00
lexluo09
26863769b5 (improvement)(chat) The format of a regular date is provided to the large model (#1619) 2024-09-01 17:30:40 +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
c4284f9784 (improvement)(chat) Remove the platform from the Docker Compose file and ensure the existence of a field with the same name before deleting a specific data date. (#1609) 2024-08-28 15:22:54 +08:00
yudong
0fc4713c4f (improvement)(headless) 智能填充json提取优化 (#1608) 2024-08-28 15:20:12 +08:00
lexluo09
b9ae0a4c92 (improvement)(chat) Forcefully delete the data date generated by the large model. (#1607) 2024-08-27 12:36:39 +08:00
jerryjzhang
5229fdc8b5 (improvement)(headless)Remove tag-related logic when determining query type. 2024-08-24 09:47:42 +08:00
lexluo09
bef652892b (improvement)(chat) Do not pass default date configuration to the large model uniformly. (#1601) 2024-08-24 08:08:39 +08:00
lexluo09
d2306464a6 (improvement)(chat) Unified display of time filtering conditions to the frontend. (#1600) 2024-08-23 19:01:37 +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
lexluo09
59c50176c5 (improvement)(chat) Fix the issue of duplicate addition of the 'data date' in the rule pattern. (#1597) 2024-08-23 16:33:23 +08:00
lexluo09
be9a8bbc27 (improvement)(chat) Remove the special field 'data date' to avoid generating non-existent time fields. (#1596) 2024-08-23 13:37:14 +08:00
jerryjzhang
7e013ca36a (fix)(headless)Avoid IndexOutOfBound exception in some cases. 2024-08-20 15:48:24 +08:00
lexluo09
ca098b576c (fix)(chat) Fix the null pointer issue in fieldNameToDateFormat. (#1587) 2024-08-19 19:31:27 +08:00
LXW
af270580bf (improvement)(headless) Fix time dimension creating (#1586)
Co-authored-by: lxwcodemonkey
2024-08-19 19:09:47 +08:00
LXW
4632549603 (improvement)(headless) Remove the check of dimension and metric bizName when creating dataSet (#1585)
Co-authored-by: lxwcodemonkey
2024-08-19 19:00:02 +08:00
lexluo09
ba55ecb31e (improvement)(chat) Make corrections and pass the data date format to the large model. (#1583) 2024-08-19 01:21:10 +08:00
lexluo09
2801b27ade (improvement)(chat) Fix the issue where the query gets stuck when two terms appear simultaneously. (#1581) 2024-08-18 00:16:55 +08:00
lexluo09
07e0ba24bc (improvement)(chat) After fixing the dictionary execution task, it is necessary to reload the metadata. (#1579) 2024-08-17 23:49:56 +08:00
lexluo09
898c7100ba (improvement)(chat) Modify the configuration of the zhipu vector database to disable the default persistence of the vector database configuration. (#1577) 2024-08-16 23:14:23 +08:00
lexluo09
7150f19def (improvement)(chat) Vector retrieval supports filtering by modelId collection during query. (#1576) 2024-08-16 21:31:07 +08:00
yudong
6aff51d394 [fix][headless]metadata向量检索时对modelid的过滤增加下划线 (#1570) 2024-08-14 13:37:09 +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
lexluo09
c82c2d0a95 (improvement)(chat) Remove irrelevant topN field information during the parsing of large models. (#1558) 2024-08-12 17:31:42 +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
jerryjzhang
68952fdb55 Merge remote-tracking branch 'origin/master' 2024-08-10 18:28:04 +08:00