Commit Graph

333 Commits

Author SHA1 Message Date
jerryjzhang
248f4f83f6 [feature][chat]Refactor chat model config related codes.#1739 2024-10-09 17:27:07 +08:00
jerryjzhang
9ffe67c962 [feature][chat]Add API to get ChatModelType list.#1739 2024-10-09 14:56:34 +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
7b9ff2e281 [feature][chat]Introduce dedicated LLM management.#1739 2024-10-09 12:00:24 +08:00
lexluo09
ff709aec60 (improvement)(headless) When retrieving all field names, consider alias fields. (#1751) 2024-10-05 13:24:16 +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
5a163936a8 (improvement)(headless) Determine if there are any 'GROUP BY' fields that require compatibility with self-queries in WITH clauses. (#1734) 2024-09-29 11:28:31 +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
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
lexluo09
066b9cc1f7 (improvement)(chat) Fix the SQL fields generated by the large model that contain (#1715) 2024-09-25 22:49:46 +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
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
lexluo09
75bc470670 (improvement)(build) Fix the .NoClassDefFoundError: org/codehaus/stax2/XMLInputFactory2 error (#1682) 2024-09-18 21:40:49 +08:00
LXW
0c0fbb829e (improvement)(auth)Avoid printing error logs when key decryption and token parsing fail (#1681)
* (improvement)(auth) Avoid throwing exceptions after login token authentication fails #1679

(improvement)(common) Do not print error log when key decryption fails #1679


---------

Co-authored-by: lxwcodemonkey
2024-09-18 16:20:12 +08:00
lexluo09
70fff17fbe (improvement)(headless) Delete 'is null' and 'is not null' expressions only in the WHERE clause, and keep them in the HAVING clause (#1680) 2024-09-15 11:05:54 +08:00
lexluo09
e64f47a15b (improvement)(common) Adjust the order of chat modes. (#1674) 2024-09-14 15:19:48 +08:00
lexluo09
4e1b2e3dfe (improvement)(common) Support deleting 'is null' and 'is not null' expressions in the WHERE clause (#1670) 2024-09-13 23:33:57 +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
yudong
51e7a9bcd7 (fix)(chat) 修复做embedding检索时,出现重复数据的问题 (#1643) 2024-09-11 22:07:23 +08:00
lexluo09
879696e493 [improvement](chat) Optimize the Schema Mapping rules (#1649) 2024-09-10 22:58:34 +08:00
daikon
ffc84dfc4c (improvement)(common) update OpenAiModelFactory default model (#1641) 2024-09-09 12:27:46 +08:00
lexluo09
5f59e89eea (improvement)(build) Add spotless during the build process. (#1639) 2024-09-07 00:36:17 +08:00
lexluo09
7dbd23d751 (improvement)(chat) Fixed the issue where setting an incorrect embeddingStore address in the system settings caused the service to fail to start (#1631) 2024-09-05 16:10:45 +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
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
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
afa82bf98d (improvement)(chat) Support connecting to Milvus service in the cloud. (#1588) 2024-08-21 16:43:51 +08:00
lexluo09
bd2eaef3f6 (improvement)(chat) Do not modify the values in the like expression and optimize some of the jsqlparser code. (#1584) 2024-08-19 16:58:19 +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
10a5e485cb (improvement)(chat) Add unit tests for each chatModel and embeddingModel. (#1582) 2024-08-18 23:43:47 +08:00
lexluo09
115cf19078 (improvement)(chat) Modify the default URL and model of zhipu, and enable search support for qwen. (#1578) 2024-08-17 23:12:48 +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
lexluo09
8d29e89317 (improvement)(chat) Fix the path issue in Dashscope for large models and optimize the EmbeddingService code. (#1566) 2024-08-13 13:37:24 +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
lexluo09
c82c2d0a95 (improvement)(chat) Remove irrelevant topN field information during the parsing of large models. (#1558) 2024-08-12 17:31:42 +08:00
lexluo09
0c70df12ca (improvement)(chat) If there are function operator fields, precise replacement must be performed. (#1554) 2024-08-12 12:45:24 +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
8b01dac8d4 (improvement)(chat) Support large models qianfan, zhipu, Azure, LocalAi, Dashscope, and handle the apiKey configuration as hidden. (#1552) 2024-08-11 23:28:24 +08:00
lexluo09
3ca51145e5 (improvement)(chat) The vector database supports configuring the dimensions field. (#1535) 2024-08-08 15:14:29 +08:00
lexluo09
9dbc8657e2 (improvement)(chat) When making corrections, the 'group by' field must not be included in the function. (#1532) 2024-08-07 23:08:43 +08:00
lexluo09
3d1ca6ac1d (improvement)(chat) Optimize the code for the queryData and queryDimensionValue interfaces. (#1529) 2024-08-07 20:56:13 +08:00
LXW
97bf8049d7 (improvement)(headless) Divide dimensions into four types: identify, category, time and partition time (#1509)
Co-authored-by: lxwcodemonkey
2024-08-03 23:56:29 +08:00
jipeli
27a70de1be (fix)(headless) fix sql parsing error containning with as (#1494) 2024-07-31 11:34:08 +08:00