jerryjzhang
23bd54fd9b
[improvement][headless-chat]Consider the usage count of metrics when resolving the optimal dataset.
2024-10-10 09:27:43 +08:00
lexluo09
2c75a6972a
(improvement)[build] Format the enumeration class with line breaks ( #1761 )
2024-10-09 20:56:08 +08:00
jerryjzhang
5cbe3a2f2a
[improvement][headless-chat]Prompt the LLM to create more readable alias.
2024-10-09 19:28:25 +08:00
jerryjzhang
248f4f83f6
[feature][chat]Refactor chat model config related codes.#1739
2024-10-09 17:27:07 +08:00
lexluo09
fc040970b2
(improvement)[chat] Skip the corrector for complex SQL, and do not add the HAVING field to the SELECT clause ( #1754 )
2024-10-09 14:38:12 +08:00
jerryjzhang
0654a54c8d
[improvement][headless-chat]Prompt the LLM to add a fixed prefix to all aliases created by the AS command.
2024-10-09 09:16:14 +08:00
jerryjzhang
aa32a2a640
[improvement][headless-chat]Rename methods of ChatQuery and ChatLayer service.
2024-10-08 17:48:28 +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
jerryjzhang
569ebfc7b2
[improvement][headless-chat]Prompt LLM to generate with SQL statement to handle secondary calculation scenario.
2024-10-08 15:01:07 +08:00
daikon
ee6b8a1044
(improvement)(knowledge) add keyValue parameter for queryDictValue ( #1749 )
2024-10-08 00:10:34 +08:00
lexluo09
71a9954be5
(improvement)[build] Use Spotless to customize the code formatting ( #1750 )
2024-10-04 00:05:04 +08:00
lexluo09
44d1cde34f
[improvement][corrector] Abstract the RuleSqlCorrector component. ( #1748 )
2024-09-30 19:09:06 +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
lexluo09
de2385cd2c
[improvement][headless] Backend uniformly supports other types of databases. ( #1745 )
2024-09-30 15:02:58 +08:00
lexluo09
2e45dcfd10
[improvement][headless] Include an other type as a parameter for a database type field. ( #1744 )
2024-09-29 22:32:24 +08:00
jerryjzhang
bfdf9004ea
[fix][launcher]Enable multi-turn conversation in S2VisitsDemo.
2024-09-29 14:31:59 +08:00
LXW
75f0e4d106
(improvement)(headless) Support batch delete term and query term #1408 ( #1732 )
...
Co-authored-by: lxwcodemonkey
2024-09-29 01:06:36 +08:00
LXW
47df22d1a0
(improvement)(auth) When checking auth, only the models involved in the query are considered rather than the models included in the data set. #1625 ( #1731 )
...
Co-authored-by: lxwcodemonkey
2024-09-29 00:33:10 +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
feelshana
e351a1c541
(fix)(headless)fix the issue that the time schema in LllM is not matched with the sql which modifiedy by sqlAdaptor when the dateformat updated;also fix the issue that the model update is not effected on dimension( #1720 )(1719) ( #1725 )
2024-09-28 09:36:49 +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
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
flyingfish
e410611a7c
Flyingfish/issue1590 ( #1708 )
2024-09-24 20:00:04 +08:00
jipeli
89b9c694be
(fix)(headless) fix the error choice of default model( #1684 ) ( #1707 )
2024-09-24 18:34:48 +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
zhaodongsheng
2086a560b1
refactor(headless): 使用 ColumnReq 请求对象替换 getColumnsBySql引入 ColumnReq 请求对象以统一请求参数,并在 DatabaseController 中替换 getColumnsBySql 方法以使用此对象。相应地,更新 service.ts 中的函数以匹配新端点 listColumnsBySql,并在 SqlDetail.tsx 中调用更新后的函数。 ( #1678 )
2024-09-14 20:18:07 +08:00
jerryjzhang
76f41cc32e
[improvement][headless-chat]Adjust default mapping threshold, reducing # of similar names.
2024-09-14 15:45:40 +08:00
LXW
19f9e15521
(improvement)(headless) Compatible with semicolon after SQL when creating model by sql #1654 ( #1673 )
...
* (improvement)(headless) Compatible with semicolon after SQL when creating model by sql #1654
* (improvement)(headless) Compatible with semicolon after SQL when creating model by sql
---------
Co-authored-by: lxwcodemonkey
2024-09-14 14:30:23 +08:00
jerryjzhang
579394af40
[fix][headless-chat]Fix NPE problem.
2024-09-13 14:54:34 +08:00
jipeli
5f4d24348a
[improvement][headless] fix queryData by dimension error ( #1666 )
2024-09-13 14:37:14 +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
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