Commit graph

71 commits

Author SHA1 Message Date
Jicheng Lu d79fbaabd2 refine completion log 2023-12-20 14:12:40 -06:00
Jicheng Lu 94f81cb173 refine llm prompt log 2023-12-19 22:20:08 -06:00
Jicheng Lu 694a3c210f fix file llm prompt log 2023-12-18 21:23:09 -06:00
Jicheng Lu 92ff9e6f3c add agent llm config 2023-12-13 14:26:46 -06:00
Jicheng Lu c667f1bad5 add logger 2023-11-29 17:23:14 -06:00
Jicheng Lu b99a158872 move log setting to conversation 2023-11-29 10:40:27 -06:00
Jicheng Lu 929487c0d6 add log settings 2023-11-29 10:21:03 -06:00
Jicheng Lu 258fcb91c5 add log index 2023-11-27 19:20:46 -06:00
Jicheng Lu 7b365d7b84 add llm completion log 2023-11-27 17:49:24 -06:00
Jicheng Lu 801b49181f add filters for conversation and agent 2023-11-27 16:20:49 -06:00
Jicheng Lu e3b0a7f075 get channel from conversation 2023-11-26 21:04:48 -06:00
Jicheng Lu 096868b229 add conversation filter 2023-11-26 20:24:40 -06:00
Jicheng Lu ddd460e6b5 add delete conversation 2023-11-26 00:29:06 -06:00
visagang 11c1b42ea6
Merge branch 'SciSharp:master' into master 2023-11-21 23:08:24 -06:00
Visagan Guruparan 59160bffcb Resolve issue "Update Conversation title dynamically" 2023-11-21 23:07:19 -06:00
Jicheng Lu 37f506687d parse conv dialog 2023-11-21 18:16:45 -06:00
Jicheng Lu 1527cb1065 add update conversation status 2023-11-15 12:35:24 -06:00
Haiping 4f5d8fc0a1
Merge pull request #205 from seplz/feature/CloseIdleConversations
add ConversationTimeoutService
2023-11-15 07:36:08 -06:00
Jicheng Lu 7968fc20a5 add user role and editable 2023-11-13 23:37:04 -06:00
Haiping Chen f3a17f1b34 GetUserById 2023-11-13 19:25:25 -06:00
SeplzZZ e467a7bd01 add ConversationTimeoutService 2023-11-10 10:01:03 -06:00
hchen ed5049ccb2 Fix RichContent pass alway bug. 2023-11-01 16:30:39 -05:00
Haiping Chen 012158470f PerInstanceCache = true 2023-10-26 09:18:14 -05:00
Jicheng Lu 8cca7361b2 refine agent update functions 2023-10-25 15:56:50 -05:00
Jicheng Lu 2e3fbc98a9 remove test code 2023-10-25 15:11:15 -05:00
Jicheng Lu 6f7f143e7d add impact 2023-10-25 15:09:21 -05:00
Jicheng Lu 9f6f0e2d92 add execution log 2023-10-23 15:33:24 -05:00
Jicheng Lu 60d9f47356 1. use string id in mongo collection.
2. add samples
3. refine repo api
2023-10-19 17:27:51 -05:00
hchen bf9bb2b6d3 Allow agent to use few-shot learning. 2023-10-19 12:24:00 -05:00
Haiping 09ea77b73a
Merge pull request #176 from xbotter/patch-file-repository
Refactor FileRepository to handle non-existent directories
2023-10-18 10:56:45 -05:00
Haiping Chen 2f3e71ef09 Add EvaluatingService. 2023-10-18 06:58:36 -05:00
xbotter 1d468e0d18
🔧 Update FileRepository to handle missing directories
- The FileRepository class in the BotSharp.Core.Repository namespace has been updated to handle cases where the "users" and agent directories are missing.
- Previously, the code would throw an exception if the directories were not found, but now it checks for their existence before attempting to read files from them.
- This change ensures that the repository can gracefully handle missing directories and continue execution without errors.
- The update includes changes to the GetUserAgents, GetAgents, and GetConversations methods, as well as the UpdateAgent, UpdateInstruction, and UpdateFunctions methods.
- Additionally, the code now properly checks for the existence of the "agents.json" file before attempting to read from it.
- These changes improve the robustness and reliability of the FileRepository class.
2023-10-18 12:58:56 +08:00
Jicheng Lu 336a98d22a add bulk insert agents and user agents 2023-10-17 15:29:40 -05:00
Jicheng Lu 541b8fde50 refine agent data fetching 2023-10-16 16:37:01 -05:00
Jicheng Lu 0ea469b29f relocate agent template in file repository 2023-10-15 23:12:17 -05:00
hchen 6ce664d618 Format LLM functions. 2023-09-27 15:49:44 -05:00
Jicheng Lu d238064af9 refine agent and update 2023-09-19 13:18:29 -05:00
Jicheng Lu 16b6683c01 temp save 2023-09-19 11:38:31 -05:00
hchen2020 a13ef3007b Eliminate route file configuration. 2023-09-18 13:13:49 -05:00
Jicheng Lu 1376326a7a add update all agent fields in file repository 2023-09-15 17:13:55 -05:00
Jicheng Lu e6e01929a1 refine update agent in file repository 2023-09-15 17:08:59 -05:00
Jicheng Lu 0299fb4f71 refine agent update in mongo 2023-09-15 15:19:44 -05:00
Jicheng Lu 075e9da5bf add agent template 2023-09-12 17:08:58 -05:00
Jicheng Lu f5e006edd7 refine agent response 2023-09-09 16:44:25 -05:00
Haiping Chen de82fac8e2 Change interface GetAgentResponses. 2023-09-09 15:13:19 -05:00
Jicheng Lu 9f918c6509 fix file bugs 2023-09-08 13:16:23 -05:00
Jicheng Lu 4f9595f1cd refine code 2023-09-08 12:17:54 -05:00
Jicheng Lu 45ed8d6cfe remove record reference 2023-09-07 17:04:34 -05:00
Jicheng Lu 9d6a7ba690 split dialog and state 2023-09-05 23:41:49 -05:00
Jicheng Lu f381208498 use list extension 2023-09-03 17:58:07 -05:00