Commit Graph

121 Commits

Author SHA1 Message Date
jerryjzhang
bfdf9004ea [fix][launcher]Enable multi-turn conversation in S2VisitsDemo. 2024-09-29 14:31:59 +08:00
lexluo09
3a11ccb6e9 (improvement)(headless) Optimize jsqlparser code and add support for complex queries like WITH in the corrector (#1730) 2024-09-28 23:26:39 +08:00
jerryjzhang
a50fe98f00 [improvement][headless-chat]Prioritize LLMSqlParser over RuleSqlParser. 2024-09-27 16:21:46 +08:00
jerryjzhang
764d3d24aa [improvement][headless]Set default query limits of DataSet. 2024-09-27 16:07:25 +08:00
jerryjzhang
ae3e9f142b [improvement][headless]Rename METRIC query type enum to AGGREGATE. 2024-09-27 15:19:26 +08:00
jerryjzhang
35030aeb23 [improvement][headless]Rename metric and tag query type to aggregate and detail respectively. 2024-09-26 20:29:51 +08:00
lexluo09
066b9cc1f7 (improvement)(chat) Fix the SQL fields generated by the large model that contain (#1715) 2024-09-25 22:49:46 +08:00
lexluo09
dbea1e7c68 (improvement)(chat) Fix the issue of dimension values being cleared and unable to be parsed (#1703) 2024-09-23 21:42:09 +08:00
lexluo09
4ef5719953 (improvement)(chat) Including agg refers to the metric pattern, adding the missing dimensions for count distinct in the group by clause, and increasing the timeout duration in H2 (#1700) 2024-09-23 16:02:33 +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
LXW
4193b84e83 (fix)(chat) fix the issue that front-end filter time re-query does not take effect, when the partition time field name is not imp_date #1638 (#1694)
Co-authored-by: lxwcodemonkey
2024-09-21 13:24:38 +08:00
jerryjzhang
b6765387f5 [improvement][headless]Introduce new time mode CURRENT. #1692 2024-09-21 13:14:47 +08:00
daikon
a200483b5c Support limit (#1688) 2024-09-20 18:35:25 +08:00
jerryjzhang
ac250907f0 [fix][headless-chat]Fix NPE during word searching process.#1672 2024-09-20 17:54:29 +08:00
jerryjzhang
c045b34328 [improvement][chat]Expose default prompt template to facilitate customization. 2024-09-20 16:57:21 +08:00
jerryjzhang
2c7758d0ca [improvement][headless-chat]Optimize HeuristicDataSetResolver to prioritize max similarity of dataset and metric.#1690 2024-09-20 14:40:09 +08:00
jerryjzhang
76f41cc32e [improvement][headless-chat]Adjust default mapping threshold, reducing # of similar names. 2024-09-14 15:45:40 +08:00
jerryjzhang
579394af40 [fix][headless-chat]Fix NPE problem. 2024-09-13 14:54:34 +08:00
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
jerryjzhang
c99d240b65 [improvement][headless]Restructure LLMReq and LLMSchema. 2024-09-12 20:10:17 +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
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
1b6277e53f (improvement)(chat) Fixed the NullPointerException issue in DimensionRecommendProcessor (#1629) 2024-09-04 22:46:38 +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
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
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
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