LXW
1ad2c5402b
(feature) (common) add sys parameter setting ( #377 )
...
Co-authored-by: jolunoluo
2023-11-13 22:07:18 +08:00
yangde
805abeb261
(fix)(chat)Fix WhereCorrector's handling of time dimensions of weeks and months ( #372 )
2023-11-13 21:06:49 +08:00
lexluo09
551a376b00
(improvement)(chat) add linking value switch and rename use.s2SQL.switch parameters ( #376 )
2023-11-13 20:22:25 +08:00
mainmain
47be92d5f6
[improvement] remove number condition ( #375 )
2023-11-13 19:52:18 +08:00
lexluo09
5feac0c14e
(improvement)(chat) Fixed an error in struct sql query order by aggregate metric ( #374 )
2023-11-13 16:06:10 +08:00
lexluo09
0f02e21eaa
(improvement)(chat) rename logicSql to correctS2SQL and the rule does not perform corrector operation ( #373 )
2023-11-13 15:36:27 +08:00
mainmain
cdb84716b7
(improvement)(chat) aggregator supports from chinese to english in s2sql ( #371 )
2023-11-13 14:51:23 +08:00
LXW
731238de08
Feature/Refactor querySelect to queryRanker and fix some errors in integration tests ( #369 )
...
* (fix) (chat) fix the context saving failure caused by the loss of default values caused by @builder
* (fix) (chat) fix date and metrics result in parse info in integration test
* (improvement) (chat) refactor querySelect to queryRanker
---------
Co-authored-by: jolunoluo
2023-11-12 22:47:58 +08:00
lexluo09
cb1ad94086
(improvement)(chat) struct query need to correct ( #366 )
2023-11-10 22:00:24 +08:00
lexluo09
24b0be7566
(improvement)(chat) when added to SchemaMap, duplicate elements are removed ( #365 )
2023-11-10 21:47:20 +08:00
lexluo09
cf788316c3
(improvement)(chat) updateParseInfo after selectQueries and add update mysql s2_agent table LLM_S2QL -> LLM_S2SQL ( #359 )
2023-11-10 16:43:23 +08:00
lexluo09
e537b738e4
(improvement)(chat) Make s2ql switch compatible, executeDirectQuery also needs to perform corrections, and update ParserInfo. ( #355 )
2023-11-10 14:31:02 +08:00
lexluo09
63a526709d
(improvement)(chat) fix count_distinct error in struct query and not init S2SqlByStruct if isUseS2SqlSwitch is false ( #353 )
2023-11-09 23:02:17 +08:00
lexluo09
e0088e8f8f
update work to doXXX and integrate the SemanticCorrector code ( #351 )
2023-11-09 22:17:13 +08:00
lexluo09
7d33c49db8
Modify s2ql to s2sql and add LLMSemanticQuery containing S2SQLQuery and MetricInterpretQuery. ( #350 )
2023-11-09 21:59:27 +08:00
lexluo09
acee0a36da
(improvement)(chat) fix test error ( #349 )
2023-11-09 20:48:40 +08:00
lexluo09
4e139c837a
(improvement)(chat) Optimize the update parserInfo code and resolve compilation exceptions ( #346 )
2023-11-09 17:35:38 +08:00
jerryjzhang
6ad74bb206
[improvement][chat]Use one RuleBasedParser to encapsulate all rule-based semantic parsers
2023-11-09 16:13:30 +08:00
lexluo09
16c3de44e4
(improvement)(chat) Overall code optimization for the corrector ( #345 )
2023-11-09 16:03:05 +08:00
jerryjzhang
cd972d0850
[improvement][chat] Remove deprecated executeQuery method
2023-11-09 14:28:34 +08:00
codescracker
41aa6ff8e4
add api service for sql_agent for crud opereations of few-shots examples. ( #342 )
2023-11-09 11:46:56 +08:00
LXW
94fa86629d
(improvement) (chat) optimize the number and order of similar metrics ( #341 )
...
Co-authored-by: jolunoluo
2023-11-08 22:14:33 +08:00
mainmain
2cb0640a7b
(improvement)(chat) add timecost aspect ( #339 )
2023-11-08 17:25:23 +08:00
lexluo09
772d5bd3ae
(improvement)(chat) support filterCondition in requestLLM ( #337 )
2023-11-08 12:07:34 +08:00
LXW
d6681ead60
(improvement) (chat) ( #336 )
...
optimize the preconditions for similar metrics recall
Co-authored-by: jolunoluo
2023-11-08 11:28:40 +08:00
lexluo09
d94fd4714f
(improvement)(chat) Performance optimization for Embedding Mapper, adding maximum and minimum text detection configurations ( #335 )
2023-11-07 21:05:03 +08:00
lexluo09
0365886270
(improvement)(chat) Rules and large model queries should be queried using s2sql ( #334 )
2023-11-07 16:23:31 +08:00
LXW
aa6c658a9a
(improvement) optimize schema data change monitoring ( #333 )
...
Co-authored-by: jolunoluo
2023-11-06 22:11:56 +08:00
lexluo09
6e3f871015
(improvement)(chat) support remove dictionary and rename match strategy ( #332 )
2023-11-06 21:03:38 +08:00
lexluo09
e00b935c1f
(improvement)(chat) Perform a complete refactoring of the mapper and integrate the fuzzyNameMapper into the BaseMatchStrategy ( #328 )
2023-11-06 17:43:46 +08:00
lexluo09
910384d17f
(improvement)(chat) Support semantic understanding, optimize the overall code of the mapper. ( #321 )
2023-11-05 13:14:07 +08:00
daikon
b8989e204f
[improvement](knowledge) support knowledge scenes without dates ( #318 )
...
Co-authored-by: kanedai <kanedai@tencent.com >
2023-11-03 17:34:03 +08:00
LXW
84b7c2c062
(improvement)(chat) add similar metric recall execute responder ( #317 )
...
Co-authored-by: jolunoluo
2023-11-03 17:32:55 +08:00
codescracker
14373309aa
add retrieve service. ( #316 )
2023-11-03 11:08:19 +08:00
mainmain
9cd3e22721
(improvement)(chat) fix agentCanSupport null execption ( #315 )
2023-11-02 21:51:59 +08:00
lexluo09
2f812372d7
add switch to translate S2QL into SQL ( #314 )
2023-11-02 20:58:45 +08:00
LXW
ad20380283
Feature/model data embedding for chat and support status for metric and dimension ( #311 )
...
* (improvement)(semantic) add offline status for metric and dimension
* (improvement)(chat) add metric recall
---------
Co-authored-by: jolunoluo
2023-11-02 18:44:58 +08:00
lexluo09
f4e3922f47
(improvement)(chat) Optimize mapper code by adding unified logging, unified comments, and LLM prior knowledge optimization ( #309 )
2023-11-02 16:55:25 +08:00
lexluo09
435e789fa4
(improvement)(project) SqlFilterUtils and DateModeUtils move to common ( #307 )
2023-11-02 11:41:00 +08:00
lexluo09
b9f5e0a354
(improvement)(project) The Corrector is integrated into the Semantic module as an intermediate step for translating S2QL into SQL ( #306 )
2023-11-01 22:34:55 +08:00
lexluo09
8f37c3175f
(improvement)(semantic) If the field of the "AS" statement is equal to the alias, then do not replace the alias ( #304 )
2023-10-31 21:12:47 +08:00
codescracker
438e8463f5
add self-consistency feature for text2sql ( #303 )
2023-10-31 20:02:20 +08:00
mainmain
ae9aa1ba0f
(improvement)(chat) fix in replace bug ( #302 )
2023-10-31 15:54:15 +08:00
lexluo09
688d26c457
(improvement)(semantic) optimized llms2qlParser code and support prior exts to llm ( #300 )
2023-10-27 13:03:55 +08:00
mainmain
80cce47f58
[improvement] add dimensionValue alias for sql execute ( #296 )
2023-10-26 21:13:43 +08:00
lexluo09
38099c8cc7
(improvement)(semantic) add weight to multi sql in llmParser ( #293 )
2023-10-26 16:42:01 +08:00
lexluo09
32e51257f6
(improvement)(semantic) support llm multiple parsing sql ( #290 )
2023-10-25 22:23:15 +08:00
lexluo09
eb9db28352
(improvement)(chat) remove useless code fix code check ( #287 )
2023-10-25 15:24:51 +08:00
LXW
836ee5f3ed
(improvement)(chat) modify plugin pre condition check ( #286 )
...
Co-authored-by: jolunoluo
2023-10-25 09:55:57 +08:00
lexluo09
9a3c71df4a
(improvement)(chat) modelId similarity >=1 and change hanlpHelper FILE_SPILT to fit windows ( #284 )
2023-10-24 16:34:04 +08:00