Commit Graph

383 Commits

Author SHA1 Message Date
LXW
26f682cc45 (improvement)(headless) Add semantic retrieval to term descriptions and extract relevant semantic information (#1468)
Co-authored-by: lxwcodemonkey
2024-07-29 09:15:18 +08:00
jerryjzhang
ccd79e4830 [improvement][headless]Optimize code structure and code style. 2024-07-28 10:06:16 +08:00
jerryjzhang
e5504473a4 [improvement][headless&chat]Move EntityInfoProcessor from chat to headless module and optimize code.
[improvement][headless&chat]Move `EntityInfoProcessor` from `chat` to `headless` module and optimize code.
2024-07-27 18:10:06 +08:00
jerryjzhang
f38a84bc8c (improvement)(headless)Reformat data semantics in the prompt. 2024-07-26 14:08:20 +08:00
jerryjzhang
cd8f38c334 (improvement)(headless)Move Values from sideInfo to schema part of the prompt and optimize prompt text. 2024-07-26 10:54:30 +08:00
lexluo09
ae34c15c95 (improvement)(chat) Improve vector recall performance. (#1458) 2024-07-25 22:19:35 +08:00
lexluo09
d64ed02df9 (improvement)(chat) Remove langchain4j configuration file and perform all configuration for the large model through the UI interface. (#1442) 2024-07-20 21:30:46 +08:00
HweiH
3797cc2ce8 [Enhancement] 升级底层 Spring Boot 版本至 2.7.2 (#1367) (#1435) 2024-07-20 14:38:46 +08:00
lexluo09
b5768b27aa (improvement)(test) Fix failing unit tests for CentOS and Ubuntu. (#1436) 2024-07-20 11:29:32 +08:00
sjwan
17f965eabd (fix)(launcher) fix mysql init script typo. (#1427)
Co-authored-by: wan2000 <wansj@samsundot.com>
2024-07-19 15:27:48 +08:00
jerryjzhang
2eac301076 (improvement)(headless)Introduce side_information to the prompt and exemplar. 2024-07-18 11:29:07 +08:00
jerryjzhang
ff38a6d250 (improvement)(headless)Restructure to remove web parent package. 2024-07-16 17:59:26 +08:00
jerryjzhang
782b768950 (improvement)(headless&chat)The Chat module only references facade service of the Headless module. 2024-07-16 17:53:01 +08:00
LXW
13ae312e51 (improvement)(headless) Update S2VisitsDemo (#1409)
Co-authored-by: lxwcodemonkey
2024-07-15 22:08:47 +08:00
lexluo09
4eb6193699 (improvement)(chat) Integrate llm configuration into system settings. (#1403) 2024-07-14 14:47:17 +08:00
LXW
407c8d4702 (improvement)(Headless) Refactor ChatLayerService and SemanticLayerService (#1404)
Co-authored-by: lxwcodemonkey
2024-07-14 11:23:47 +08:00
jerryjzhang
baff30550e (improvement)(headless&chat)Move ChatContext from Headless module to Chat module. 2024-07-12 19:50:12 +08:00
jerryjzhang
5bf4a4160d (fix)(chat&headless)Agent references ChatModelConfig instead of ModelConfig. 2024-07-12 14:15:54 +08:00
jerryjzhang
37da1ac2ae (improvement)(chat)Enable memory directly if the review result by LLM is positive. 2024-07-12 09:59:58 +08:00
jerryjzhang
d6c5702b5a (feature)(chat)Rewrite error message to make it more understandable to the user. #1320 2024-07-11 20:33:32 +08:00
jerryjzhang
e0647dd990 (improvement)(launcher)Opt schema-mysql sql declaration. 2024-07-11 11:00:25 +08:00
jerryjzhang
9bb95ca4be (feature)(chat)Add switch to enable LLM-based memory review, as it leads to more token costs. #1385 2024-07-10 21:08:02 +08:00
jerryjzhang
78a91ad8c2 (improvement)(headless)Modify text2sql prompts to remove dependency on datediff, thus avoiding SQL compatibility issues. #1391 2024-07-10 20:32:12 +08:00
LXW
03f5678732 (improvement)(script) update schema-mysql.sql and sql-update.sql (#1390)
Co-authored-by: lxwcodemonkey
2024-07-10 19:39:12 +08:00
jerryjzhang
f0b4eb46cf (improvement)(headless)Remove unnecessary TranslateSqlReq, use SemanticQueryReq instead. 2024-07-09 11:28:43 +08:00
LXW
9911e6772c (improvement)(auth) Make row permissions take effect during the translate sql phase and refactor the auth code (#1368)
Co-authored-by: lxwcodemonkey
2024-07-07 20:46:53 +08:00
jerryjzhang
64786cb0ef (improvement)(headless)Add explicit TRANSLATING stage and rename several classes by the way. 2024-07-07 09:30:32 +08:00
lexluo09
4d7bfe07aa (improvement)(chat) Support embedding store configuration. (#1363) 2024-07-07 00:30:19 +08:00
jerryjzhang
e0e77a3b64 (improvement)(headless&chat)Execute against SemanticLayerService instead of ChatQueryService in chat-server and rename several classes by the way. 2024-07-06 23:32:59 +08:00
lexluo09
6db6aaf98d (improvement)(chat) Support configuring embeddingModel or embeddingStore at the agent level. (#1361) 2024-07-06 20:44:23 +08:00
jerryjzhang
72465cd88c # This is a combination of 2 commits.
(feature)(headless)Support custom prompt template. #1348.
2024-07-05 15:30:52 +08:00
lexluo09
93ea7a618c (improvement)(chat) Fix embedded embedding model, some machines throw an error with version GLIBC_2.27 (#1346) 2024-07-04 21:02:08 +08:00
lexluo09
20aa0bc0a9 (fix)(build) Add sequential execution to Docker Compose and modify active to prd (#1332) 2024-07-02 21:15:41 +08:00
LXW
2f0ac2baf8 (improvement)(chat) add chat plugin webservice demo (#1317)
Co-authored-by: lxwcodemonkey
2024-07-01 18:56:53 +08:00
lexluo09
d26eeb3367 (improvement)(build) Support passing the version as a variable in the docker-compose.yml file. (#1313) 2024-07-01 17:13:05 +08:00
lexluo09
7773442fbf (improvement)(chat) Fix the error in Milvus query and add the option to create EmbeddingStore based on caching mode (#1310) 2024-07-01 16:29:43 +08:00
jerryjzhang
07a981216f (improvement)(launcher)Separate prd and local profiles for langchain4j yaml. 2024-07-01 15:49:21 +08:00
lexluo09
c8b6af4887 (improvement)(chat) It supports successful startup using Docker, local, and other methods. If the Chroma store creation fails, it will be replaced with in-memory (#1301) 2024-06-30 20:15:46 +08:00
lexluo09
b56abd7348 (improvement)(chat) Fix the collectionName issue in the memory agent level. (#1300) 2024-06-30 17:55:43 +08:00
lexluo09
8bfd80c2c0 (improvement)(build) Use docker-compose.yml to run the entire process successfully. (#1298) 2024-06-30 16:56:06 +08:00
LXW
d8bc6a02a4 (improvement)(common) Remove AESUtil and add AES/CBC、AES/ECB encryption/decryption in AESEncryptionUtil (#1297)
Co-authored-by: lxwcodemonkey
2024-06-30 16:18:31 +08:00
lexluo09
6687856d59 (improvement)(build) Add Dockerfile and build script. (#1293) 2024-06-30 12:38:56 +08:00
jerryjzhang
f96c0871f6 (improvement)(headless)Move task related classes to dedicated package. 2024-06-30 11:51:10 +08:00
jerryjzhang
1d0b288922 (improvement)(headless)Adapt s2_exemplar file to new version of prompting strategy. 2024-06-30 11:25:52 +08:00
lexluo09
2b2ce7fa53 (improvement)(chat) Initialize the created_at and updated_at timestamps in s2_chat_memory. (#1289) 2024-06-29 23:29:43 +08:00
lexluo09
af4a026af6 (improvement)(config) Change application-local.yaml to application-prd.yaml. (#1283) 2024-06-29 17:11:16 +08:00
LXW
af0fe6d1b1 (improvement)(headless) Batch Update dimension sensitiveLevel (#1275)
Co-authored-by: lxwcodemonkey
2024-06-28 21:07:32 +08:00
LXW
e939869348 (improvement)(Demo) Remove model set in demo (#1274)
Co-authored-by: lxwcodemonkey
2024-06-28 19:50:09 +08:00
LXW
5bcb76a1de (improvement)(Chat) Return agent info after creating agent (#1272)
Co-authored-by: lxwcodemonkey
2024-06-28 19:15:36 +08:00
lexluo09
528491717b (improvement)(headless) Add support for the Ollama provider in the frontend and optimize the code (#1270) 2024-06-28 17:29:58 +08:00