Commit Graph

552 Commits

Author SHA1 Message Date
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
lexluo09
473329d398 [improvement][chat] Filter at the lowest level in the Map based on the dataSetId (#1834) 2024-10-20 21:51:57 +08:00
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
lexluo09
2250289c94 (fix)(chat) Fix the issue of mapping in the map (#1825) 2024-10-19 13:22:39 +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
zhaodongsheng
55a4d5a198 (fix) NoSuchFileException when reading dimension file (#1813) 2024-10-17 20:12:37 +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
ee4b218a1e [improvement][chat] Fix the issue of HDFS path concatenation (#1820) 2024-10-17 14:12:12 +08:00
LXW
c8d2d75ad5 (fix)(Headless) Fix getting tables and columns failed from h2 db (#1818)
Co-authored-by: lxwcodemonkey
2024-10-17 11:16:11 +08:00
jerryjzhang
d064393253 [fix][chat]Fix NPE problem. 2024-10-16 13:08:22 +08:00
lexluo09
9302d1f6e4 [improvement][chat] The two characters need to be a perfect match (#1805) 2024-10-15 12:21:14 +08:00
jerryjzhang
0b71390fde [improvement][chat]Introduce AppModule to classify chat apps. 2024-10-14 14:21:41 +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
e6daf4d19f [fix][headless-chat]Fix typo bug.#1736 2024-10-12 16:46:34 +08:00
jerryjzhang
7c76c69ac0 [feature][headless-chat]Introduce ChatApp to support more flexible chat model config.#1739 2024-10-12 15:21:48 +08:00
lexluo09
fc94a6718b [improvement][headless] Fix the issue of retrieving empty table information in H2 (#1789) 2024-10-12 14:11:54 +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
jerryjzhang
0cce0a76b4 [feature][headless-chat]Introduce ChatApp to support more flexible chat model config.#1739 2024-10-12 11:58:34 +08:00
jerryjzhang
2717a1603c [feature][headless-chat]Introduce ChatApp to support more flexible chat model config.#1739 2024-10-12 11:51:37 +08:00
lexluo09
72d01bb419 [improvement][chat] Optimize the MemoryReviewTask task by adding individual exception handling (#1788) 2024-10-11 23:09:13 +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
jerryjzhang
89b428b39c [feature][headless-chat]Introduce LLM-based semantic corrector.#1737 2024-10-11 10:32:39 +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
lexluo09
1b53226645 [improvement][headless] Handle compatibility issues when loading all files under the window directory (#1776) 2024-10-10 20:53:55 +08:00
daikon
fe3f4c36b5 Opt knowledge data (#1769) 2024-10-10 14:29:05 +08:00
jerryjzhang
febcb01cd3 [improvement][headless-chat]Iterate the Text2SQL prompt. 2024-10-10 14:04:37 +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
23bd54fd9b [improvement][headless-chat]Consider the usage count of metrics when resolving the optimal dataset. 2024-10-10 09:27:43 +08:00
lexluo09
2c75a6972a (improvement)[build] Format the enumeration class with line breaks (#1761) 2024-10-09 20:56:08 +08:00
jerryjzhang
5cbe3a2f2a [improvement][headless-chat]Prompt the LLM to create more readable alias. 2024-10-09 19:28:25 +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
0654a54c8d [improvement][headless-chat]Prompt the LLM to add a fixed prefix to all aliases created by the AS command. 2024-10-09 09:16:14 +08:00
jerryjzhang
aa32a2a640 [improvement][headless-chat]Rename methods of ChatQuery and ChatLayer service. 2024-10-08 17:48:28 +08:00