LXW
0143b0a1b2
(improvement)(chat)Add PostProcessor to do some logic after parser and corrector ( #403 )
...
* (improvement)(chat) Add PostProcessor to do some logic after parser and corrector
* (improvement)(chat) Add MetricCheckPostProcessor used to verify whether the dimensions involved in the query in metric mode can drill down on the metric
---------
Co-authored-by: jolunoluo
2023-11-20 09:58:25 +08:00
daikon
dd115f9d37
[improvement](knowledge) add dataSource filter sql for fillKnowledgeDimValue ( #402 )
...
Co-authored-by: kanedai <kanedai@tencent.com >
2023-11-18 16:12:31 +08:00
lexluo09
f198ce1ef8
[improvement](chat) If there is no aggregate function in the S2SQL, add the field to the 'SELECT' statement. ( #401 )
2023-11-18 10:28:09 +08:00
lexluo09
d6a386ad03
[improvement](project) Parameters are uniformly obtained from system settings, removing optimization.properties, and modifying SysParameter parameters ( #399 )
2023-11-17 18:11:07 +08:00
lexluo09
05b1a7ec3b
[improvement](chat) remove nativeQuery config in chat ( #394 )
2023-11-16 21:51:08 +08:00
lexluo09
11cdcb29fa
[improvement](chat) When determining the query type, S2SQL is uniformly used for parsing. ( #393 )
2023-11-16 17:39:46 +08:00
lexluo09
46a9e5b097
[improvement](chat) Added query type parsing, supporting metrics, entities, and other query types. ( #392 )
2023-11-16 17:08:56 +08:00
lexluo09
5b3a9ffba8
[improvement](chat) remove duplicates from multiple SQL identified by LLM. ( #391 )
2023-11-16 09:59:54 +08:00
jerryjzhang
8688c8c2b3
[improvement][chat] Move python code out of chat-core module
2023-11-16 09:58:25 +08:00
lexluo09
aa448b1ba3
[improvement](chat) Add a LLMParserLayer to interact with a Python service and add comments to certain classes ( #388 )
2023-11-15 14:49:22 +08:00
jerryjzhang
7ef3d92f2c
[doc][chat]Add javadoc to rule-based semantic parsers
2023-11-15 10:41:59 +08:00
LXW
36c8938ff7
(improvement) (common) add sys parameter setting ( #384 )
...
Co-authored-by: jolunoluo
2023-11-14 21:41:59 +08:00
yangde
3271db4ca6
(fix)(chat) Fix NPE ( #382 )
2023-11-14 20:58:37 +08:00
Scott
d4374f7074
(fix):using virtual env and fix chromadb's version ( #381 )
2023-11-14 17:51:47 +08:00
jipeli
438ee539d6
(improvement)(chat) metricSemantic query without dateInfo not get queryRatio ( #380 )
...
Co-authored-by: jipengli <jipengli@tencent.com >
2023-11-14 17:02:27 +08:00
LXW
5ccde0206c
(feature) (chat) add llm examples in chat config ( #379 )
...
Co-authored-by: jolunoluo
2023-11-14 16:27:10 +08:00
lexluo09
74ed269544
(improvement)(chat) linkingValues is not passed to llm and optimize SchemaCorrector code ( #378 )
2023-11-14 11:12:27 +08:00
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