Commit Graph

262 Commits

Author SHA1 Message Date
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
lexluo09
d39db734c4 (improvement)(common) Support deleting embedding data in InMemoryEmbeddingStore. (#1360) 2024-07-05 23:29:22 +08:00
lexluo09
a1ab7ac1c1 (improvement)(common) Fix the issue of duplicate inclusion of embedding data (#1359) 2024-07-05 23:09:30 +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
jerryjzhang
14b9086d83 (improvement)(headless)Remove LLMProxy abstraction as not needed any more. 2024-07-05 10:24:09 +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
daikon
9cd352f146 Add dict date (#1331) 2024-07-02 18:46: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
二毛
7bb0f84bc3 fix milvus shutdown error (#1307) 2024-07-01 14:55:40 +08:00
jerryjzhang
d2e9d1bf85 (feature)(project)Change project revision to 0.9.4. 2024-07-01 14:44:56 +08:00
lexluo09
da43f790c3 (improvement)(project) Remove unnecessary logs and remove redundant utility classes in the Dockerfile (#1306) 2024-07-01 14:42:30 +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
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
jerryjzhang
1d0b288922 (improvement)(headless)Adapt s2_exemplar file to new version of prompting strategy. 2024-06-30 11:25:52 +08:00
LXW
a45fe183d2 (improvement)(chat) Obtain similar query from ExemplarService instead of directly from embedding store (#1278)
Co-authored-by: lxwcodemonkey
2024-06-29 14:02:39 +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
LXW
b34268c236 (improvement)(Chat) Add encryption and decryption for llm api key (#1267)
* (improvement)(Chat) Add encryption and decryption for llm api key

* (improvement)(Chat) Change Plugin to ChatPlugin

---------

Co-authored-by: lxwcodemonkey
2024-06-28 15:51:31 +08:00
lexluo09
3d4c078d95 (improvement)(headless) Add exception handling to the embeddingModel embed function (#1264) 2024-06-28 13:23:27 +08:00
lexluo09
a3d4f18df4 (improvement)(project) Remove Python module and related Python code. (#1263) 2024-06-28 12:01:13 +08:00
lexluo09
2fd22e0769 (improvement)(headless) Remove the addCollection method from EmbeddingService. (#1259) 2024-06-27 22:38:49 +08:00
lexluo09
391c0dccc8 (improvement)(headless) Add deduplication and persistence to InMemoryEmbeddingStore (#1256) 2024-06-27 22:24:49 +08:00
jipeli
4e4943ffd1 (improvement)(chat) fixed HanLP multiple uppercase(#963) (#1254) 2024-06-27 18:56:34 +08:00
LXW
89c63cd44d (improvement)(Chat) Put agent examples into ChatMemory automatically (#1249)
Co-authored-by: lxwcodemonkey
2024-06-27 17:12:35 +08:00
lexluo09
bbd61ac937 (improvement)(config) Split the application-local.yml file based on functionality. (#1250) 2024-06-27 16:56:16 +08:00
jerryjzhang
8b88528938 (improvement)(common)Opt package structure 2024-06-27 15:39:52 +08:00
二毛
20697efac1 (improvement)(headless) Add localAi auto-configuration. (#1243) 2024-06-27 15:09:18 +08:00
jerryjzhang
57a727bdff (fix)(common)Make sure system exemplar gets loaded before demo chats. 2024-06-27 11:50:05 +08:00
jerryjzhang
a655110f5f (feature)(chat&common)Introduce ChatMemory module to support dynamic few-shot exemplars.#1097 2024-06-27 11:08:14 +08:00
lexluo09
7c711f6105 (improvement)(project) Remove additional logging dependencies and use logback as the primary logging framework. (#1235) 2024-06-27 09:39:26 +08:00
lexluo09
e9dfb30ccf (improvement)(common) Fix the issue with querying large models using the GLM interface. (#1226) 2024-06-25 21:42:02 +08:00
mainmain
4a876b97df (improvement)(headless) fix SqlReplaceHelper replaceFields,improve subselect and supports join (#1210) 2024-06-25 11:13:37 +08:00
lexluo09
2fd2c5690b (improvement)(auth) Fix the issue of a too short key. (#1207) 2024-06-24 23:57:48 +08:00
lexluo09
96d8ba5ec4 (improvement)(chat) Fix the Zhipu embedding model issue. (#1206) 2024-06-24 22:44:51 +08:00
lexluo09
4b288d9815 (improvement)(chat) The embedding model will be uniformly adopted using the textSegment and will be compatible with the queryId parameter. (#1202) 2024-06-24 13:27:03 +08:00
lexluo09
a7d367baa3 (improvement)(chat) Support loading local embedding models through the in-memory configuration method (#1201) 2024-06-23 22:57:35 +08:00
lexluo09
15ceca3102 (improvement)(chat) Add support for milvus metastore in spring way (#1200) 2024-06-23 22:25:37 +08:00
lexluo09
6a66db7c0e (improvement)(chat) Add support for Chroma metastore and remove additional configurations. (#1199) 2024-06-23 21:53:44 +08:00
lexluo09
4d6cbf31f7 (improvement)(chat) Upgrade and optimize the embedding metastore. (#1198) 2024-06-23 21:46:10 +08:00
lexluo09
29694be64e (improvement)(chat) The large model parsing supports SQL result verification and adds three retries (#1194) 2024-06-22 22:21:51 +08:00
lexluo09
32e2c1e39d (improvement)(common) Fixed the compatibility issue with qwen. (#1193) 2024-06-22 16:59:15 +08:00
lexluo09
782d4ead9e (improvement)(common) support dashscope in springboot (#1192) 2024-06-22 16:39:32 +08:00
lexluo09
3d0183095b (improvement)(common) support zhipu in springboot (#1190) 2024-06-22 15:10:29 +08:00
jerryjzhang
e9230b5421 (improvement)(headless)Reduce level of several logs, avoiding too verbase. 2024-06-22 13:16:03 +08:00
lexluo09
cfde267a06 (improvement)(Headless) If it is in DETAIL mode and select *, add default metrics and dimensions. (#1186) 2024-06-22 01:28:52 +08:00
LXW
e548b57d97 (improvement)(Chat) Agent supports configuring whether to enable simple mode and whether to display debugging information. (#1181)
Co-authored-by: lxwcodemonkey
2024-06-21 16:02:04 +08:00
lexluo09
5555dc8c45 (improvement)(common) When EmbeddingModel retrieval fails, use the default embedded model. (#1176) 2024-06-20 21:57:32 +08:00
lexluo09
3831f9fdf1 (improvement)(common) support qianfan in springboot (#1175) 2024-06-20 20:27:06 +08:00
lexluo09
92db381b6f (improvement)(common) Upgraded langchain4j to version 0.31. (#1174) 2024-06-20 17:31:19 +08:00