Commit Graph

499 Commits

Author SHA1 Message Date
LXW
1d84e00887 (improvement)(Headless) Supports batch creation of models by specifying db table names (#1833)
Co-authored-by: lxwcodemonkey
2024-10-20 20:17:11 +08:00
LXW
1f208ffcb7 (improvement)(Common) Move ChatModel management to common modules and add chatApp for data-model builder (#1831)
Co-authored-by: lxwcodemonkey
2024-10-20 18:42:08 +08:00
jerryjzhang
bb07fd77cf [improvement][headless-chat]Optimize text2sql prompt. 2024-10-18 22:53:30 +08:00
jerryjzhang
5c8b9a0ee1 [improvement][project]Optimize log files and outputs. 2024-10-18 14:17:47 +08:00
feelshana
f9e0bae721 [fix][chat]Fix the issue of chatModelConfig is missing in the PlainTextExecutor(#1816) (#1819) 2024-10-17 20:11:24 +08:00
lexluo09
83cf171ec5 [improvement][chat] Fix the display of aliases or synonyms for terms (#1793) 2024-10-12 20:26:24 +08:00
jerryjzhang
3501f592e7 [feature][headless-chat]Introduce ChatApp to support more flexible chat model config.#1739 2024-10-12 13:04:06 +08:00
daikon
0a86a63937 opt queryDictValue (#1787) 2024-10-11 22:27:46 +08:00
LXW
4408bf4325 (improvement)(Headless) Optimize check of aggregate functions when creating metrics (#1785)
Co-authored-by: lxwcodemonkey
2024-10-11 16:46:34 +08:00
LXW
fbf0ea0627 (improvement)(Headless) Support building data-model by LLM #1319 (#1784)
Co-authored-by: lxwcodemonkey
2024-10-11 14:34:17 +08:00
jipeli
50b0036d0f [improvement][headless] Fix permission exception loss (#1764) (#1782) 2024-10-11 12:00:41 +08:00
lexluo09
0fe7f0e1a7 [improvement][headless] Fix the null pointer issue when handling execution permissions and retrieving recommended metrics (#1780) 2024-10-10 23:22:48 +08:00
jipeli
bf1f2ed60a [improvement][headless] add errorMsg to parse and execute response (#1764) (#1778) 2024-10-10 21:27:26 +08:00
daikon
fe3f4c36b5 Opt knowledge data (#1769) 2024-10-10 14:29:05 +08:00
lexluo09
0299743c69 (improvement)[headless] Remove the as alias containing _ during the headless stage. (#1767) 2024-10-10 11:53:57 +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
aa32a2a640 [improvement][headless-chat]Rename methods of ChatQuery and ChatLayer service. 2024-10-08 17:48:28 +08:00
zhaodongsheng
806fb64beb (fixed)修正复合指标引用同一原子指标,替换时BUG (#1743) 2024-10-08 15:34:43 +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
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
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
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
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
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
zhaodongsheng
2086a560b1 refactor(headless): 使用 ColumnReq 请求对象替换 getColumnsBySql引入 ColumnReq 请求对象以统一请求参数,并在 DatabaseController 中替换 getColumnsBySql 方法以使用此对象。相应地,更新 service.ts 中的函数以匹配新端点 listColumnsBySql,并在 SqlDetail.tsx 中调用更新后的函数。 (#1678) 2024-09-14 20:18:07 +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
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
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
lexluo09
ff0833ddfa [improvement](headless) Optimize the reload embedding interface (#1655) 2024-09-11 22:52:46 +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
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