Jun Zhang
593597fe26
Refactor translator module ( #1932 )
...
* [improvement][Chat] Support agent permission management #1143
* [improvement][chat]Iterate LLM prompts of parsing and correction.
* [improvement][headless]Clean code logic of headless core.
* (fix) (chat) 记忆管理更新不生效 (#1912 )
* [improvement][headless-fe] Added null-check conditions to the data formatting function.
* [improvement][headless]Clean code logic of headless translator.
* [improvement][headless-fe] Added permissions management for agents.
* [improvement][headless-fe] Unified the assistant's permission settings interaction to match the system style.
* [improvement](Dict)Support returns dict task list of dimensions by page
* [improvement][headless-fe] Revised the interaction for semantic modeling routing and implemented the initial version of metric management switching.
* [improvement][launcher]Set system property `s2.test` in junit tests in order to facilitate conditional breakpoints.
* [improvement][headless] add validateAndQuery interface in SqlQueryApiController
* [improvement][launcher]Use API to get element ID avoiding hard-code.
* [improvement][launcher]Support DuckDB database and refactor translator code structure.
---------
Co-authored-by: lxwcodemonkey <jolunoluo@tencent.com >
Co-authored-by: tristanliu <tristanliu@tencent.com >
Co-authored-by: daikon12 <1059907724@qq.com >
Co-authored-by: lexluo09 <39718951+lexluo09@users.noreply.github.com >
2024-11-30 00:27:33 +08:00
Jun Zhang
cb183b7ac8
[improvement][Chat] Support agent permission management ( #1923 )
...
* [improvement][Chat] Support agent permission management #1143
* [improvement][chat]Iterate LLM prompts of parsing and correction.
* [improvement][headless-fe] Added null-check conditions to the data formatting function.
* [improvement][headless]Clean code logic of headless translator.
---------
Co-authored-by: lxwcodemonkey <jolunoluo@tencent.com >
Co-authored-by: tristanliu <tristanliu@tencent.com >
2024-11-23 09:09:04 +08:00
Jun Zhang
e8c9855163
[improvement][launcher]Clean code logic of s2demos and remove tag-related constructs.
2024-11-16 17:23:35 +08:00
Jun Zhang
ba1938f04b
Merge fixes and improvements ( #1910 )
...
Co-authored-by: tristanliu <tristanliu@tencent.com >
2024-11-16 13:57:54 +08:00
zhaodongsheng
5e22b412c6
(fix) CoreDictionaryPath Incorrect Assignment ( #1903 )
2024-11-14 22:34:59 +08:00
LXW
87729956e8
(improvement)(Headless) Refactor the SemanticModeller to rule first and then llm, and automatically infer field types in the rule method. ( #1900 )
...
Co-authored-by: lxwcodemonkey
2024-11-11 00:10:58 +08:00
jerryjzhang
14a19a901f
[improvement][project]Simplify code logic in multiple modules.
2024-11-10 14:31:12 +08:00
lexluo09
ca4545bb15
[improvement][chat] Only vector retrieval is enabled in loose mode ( #1899 )
2024-11-10 10:39:17 +08:00
Jun Zhang
e0e167fd40
[improvement][chat]Refactor code logic in rule-based parsing.
2024-11-09 15:49:08 +08:00
lexluo09
d4a9d5a7e6
[fix][chat] The terms in the descriptor of the term no longer undergo descriptor mapping ( #1897 )
2024-11-09 14:16:55 +08:00
Jun Zhang
c9c6dc4e44
Merge a number of fixes and improvements ( #1896 )
2024-11-09 00:23:02 +08:00
jerryjzhang
6f2af79756
[improvement][chat]Move processor related logic from headless to chat.
2024-11-04 16:27:26 +08:00
jerryjzhang
9a05b5cce6
[improvement][headless]Deprecate and remove entity-related abstraction and logic.#1876
2024-11-04 10:17:30 +08:00
lexluo09
3b65b1c80b
[improvement][headless] Remove entities from the dictionary and search interface ( #1878 )
2024-11-04 10:06:10 +08:00
jerryjzhang
1e5bf7909e
[improvement][headless]Deprecate and remove entity-related abstraction and logic.#1876
2024-11-04 09:53:18 +08:00
lexluo09
a43e47e491
[improvement][headless] Determine if the SQL is supported by agg for more complex scenarios ( #1872 )
2024-11-01 10:37:26 +08:00
daikon
4c929d59a8
(improvement)(knowledge) support DimValueAliasReq single ( #1871 )
2024-10-31 23:52:31 +08:00
jipeli
0cb1faaf53
(improvement)(Headless) Fixed duplicate fields error ( #1870 )
2024-10-31 22:46:46 +08:00
lexluo09
cf359f3e2f
[improvement][chat] Optimize and modify the mapper method for terminology ( #1866 )
2024-10-31 11:18:35 +08:00
LXW
838745d415
(improvement)(Headless) Implement SemanticModeller through SPI ( #1865 )
...
Co-authored-by: lxwcodemonkey
2024-10-30 23:32:38 +08:00
jerryjzhang
adde7bbd45
[fix][chat]Fix TERM schema element not mapped.
2024-10-30 22:34:46 +08:00
jipeli
858feb9c3c
(improvement)(Headless) define the measure without agg funciton by the model ( #1864 )
2024-10-30 22:13:13 +08:00
LXW
68d5dac14c
(improvement)(Headless) Remove unnecessary code ( #1863 )
...
Co-authored-by: lxwcodemonkey
2024-10-30 21:56:32 +08:00
jerryjzhang
9644fc4207
[improvement][chat]Remove deprecated SatisfactoryChecker.
2024-10-30 10:36:19 +08:00
jerryjzhang
53ddc67262
[improvement][chat]Sort parses in NL2SQLParser right after rule-based parsing.
2024-10-29 23:31:02 +08:00
jerryjzhang
847505b293
[fix][chat]Deprecate and remove ContextInheritParser.
2024-10-29 22:34:11 +08:00
lexluo09
d9cf874536
[improvement][chat] In STRICT mode, embedingMapper does not perform mapping ( #1858 )
2024-10-29 20:54:37 +08:00
jerryjzhang
cbb76550c7
[improvement][chat]Optimize NL2SQL parsing logic.
2024-10-29 20:33:32 +08:00
jerryjzhang
996cb3df56
[improvement][chat]Change query type resolution logic.
2024-10-29 19:03:10 +08:00
LXW
ec6d7ba93d
(improvement)(Headless) Support setting fields as foreign keys when creating data-model ( #1857 )
...
Co-authored-by: lxwcodemonkey
2024-10-29 18:42:31 +08:00
lexluo09
0383683ac0
[improvement][chat] In the search interface, modelId and modelName are changed to dataSetId and dataSetName ( #1855 )
2024-10-29 16:01:02 +08:00
jerryjzhang
826354cdf1
[improvement][launcher]Add DictConf for dimensions in S2VisitsDemo.
2024-10-29 14:38:58 +08:00
jerryjzhang
400b9f86f0
[improvement][chat]Modify core workflow of NL2SQLParser, always invoking rule-based parsers first.#1729
2024-10-29 13:12:56 +08:00
jerryjzhang
414aaaa0b6
[improvement][chat]Modify core workflow of NL2SQLParser, always invoking rule-based parsers first.#1729
2024-10-29 00:41:44 +08:00
lexluo09
5d9b1b917e
[improvement][chat] The parser interface supports using the dataSetId provided by the frontend as the reference ( #1852 )
2024-10-28 21:51:11 +08:00
jerryjzhang
e046a55567
[improvement][chat]Only return the parse info of the highest score for one dataset pass.#1847
2024-10-28 20:00:34 +08:00
lexluo09
de4384062c
[improvement][chat] The similarity of MapModeEnum.STRICT is 1 ( #1851 )
2024-10-28 19:58:13 +08:00
jerryjzhang
b3d4440781
[improvement][chat]Support user feedback to multiple candidate semantic parses.#1847
2024-10-28 17:31:33 +08:00
zhaodongsheng
c07b64d33c
[fix]自定义词典:xxxx 读取错误,#1826 ( #1840 )
2024-10-28 13:23:35 +08:00
jerryjzhang
14badcd4ae
[improvement][chat]Introduce separate ChatParseResp in Chat module.
2024-10-28 12:44:39 +08:00
jerryjzhang
eb28d832bc
[improvement][chat]Support user feedback to semantic parse info.#1729
2024-10-28 02:07:54 +08:00
LXW
c2785139f2
(improvement)(Headless) Add exemplars for building data-model by LLM #1319 ( #1849 )
...
Co-authored-by: lxwcodemonkey
2024-10-27 23:17:33 +08:00
jerryjzhang
b69ee81d58
[improvement][chat]Move generation of semantic text info and rewrite of error message to dedicated ResultProcessor.
2024-10-27 22:34:16 +08:00
jerryjzhang
bb363a0286
[improvement][headless-chat]Incorporate Request into Context objects, removing unnecessary copy.
2024-10-27 18:47:34 +08:00
LXW
bd82b0904b
(improvement)(Headless) Add integration testing for building data-model by LLM ( #1848 )
...
Co-authored-by: lxwcodemonkey
2024-10-27 18:16:59 +08:00
jerryjzhang
3e0f724e97
[improvement][chat]Incorporate Response into Context objects.
2024-10-27 17:44:29 +08:00
jerryjzhang
397b527bc6
[improvement][project]Remove unnecessary SchemaMapInfo from ParseContext.
2024-10-27 15:16:42 +08:00
jerryjzhang
1e3daffade
[improvement][project]Opt some code structures.
2024-10-27 10:38:30 +08:00
lexluo09
bd68a7212a
[improvement][headless] When validating permissions from SQL, handle Identifier types compatibility ( #1844 )
2024-10-24 22:26:00 +08:00
jipeli
bdb20ca462
[improvement][headless] Fix model relation primary field not found( #1783 ) ( #1838 )
2024-10-21 19:45:02 +08:00