Commit graph

256 commits

Author SHA1 Message Date
hchen2020 da4d811a54
Merge branch 'SciSharp:master' into master 2024-07-29 10:54:23 -05:00
Haiping Chen 58fb290fc9 TwostagePlanner practice 2024-07-25 17:11:51 -05:00
Haiping Chen 0abaa2df94 Upgrade EntityFrameworkCore.BootKit to v8.5 2024-07-20 22:00:38 -05:00
Haiping Chen 381deaa143 knowledge learner 2024-07-17 16:03:46 -05:00
Jicheng Lu d3de1ba9fd Merge branch 'master' into features/add-sql-executor-utility 2024-07-16 10:20:03 -05:00
Haiping Chen 7d66c2de58 remove function return appended to dialogs. 2024-07-16 10:14:35 -05:00
Jicheng Lu 772aec54bd add sql executor utility 2024-07-15 15:06:22 -05:00
Jicheng Lu 300b4d997a fix routing to agent handler 2024-07-15 13:44:37 -05:00
Haiping Chen ed35da1928 Fix route to agent. 2024-07-11 16:43:03 -05:00
Haiping Chen 9715f28ada QdrantDb 2024-07-02 09:56:15 -05:00
geffzhang 164f69bc66 feat: AgentName and OriginalAgent may be null
1、AgentName  and OriginalAgent may be null
2、Sdcb.SparkDesk upgrade 3.1.0
2024-06-28 18:53:39 +08:00
Jicheng Lu 69c603a3da add open ai text completion 2024-06-27 12:49:51 -05:00
Jicheng Lu 7a5575b0f6 upgrade 2024-06-26 16:15:29 -05:00
Jicheng Lu 64dca85d77 add translation memory 2024-06-14 15:39:56 -05:00
Jicheng Lu aaf192be42 remove setting 2024-05-30 09:51:57 -05:00
Jicheng Lu b52d3b0bb1 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-http-handler 2024-05-30 09:50:11 -05:00
Haiping Chen d6ac3c09ea Fix current agent id for routing rule. 2024-05-27 21:06:05 -05:00
Jicheng Lu d901fff30f add http handler 2024-05-20 16:50:45 -05:00
C. Oceania 3bf73bec4a
Update RoutingService.cs 2024-05-15 14:32:59 -05:00
Jicheng Lu f9e63097a9 add chat files 2024-05-13 16:53:41 -05:00
Haiping Chen d12954824b All exclude some states when cleaning states. 2024-05-13 08:58:26 -05:00
Jicheng Lu 8ce51d4f6f fix invoke function 2024-05-10 14:29:46 -05:00
Haiping Chen 76dc9080ad Fix translator. 2024-05-09 15:59:59 -05:00
LAPTOP-3CFGGVOS\rabbit b30aa58aa6 optimize translation 2024-05-09 19:42:05 +08:00
Haiping Chen 6554c43dbc Only show playload to AI. 2024-05-07 17:16:07 -05:00
Haiping Chen c0523a118f Fallback Agent. 2024-05-07 12:19:55 -05:00
Haiping Chen 7fb386f176 Anthropic AI 2024-05-02 17:07:12 -05:00
Haiping Chen 0ae2c4ba99 Server-sent Events. 2024-04-30 16:25:58 -05:00
Haiping Chen b43dfbac01 Fix language detection. 2024-04-25 11:27:51 -05:00
Haiping Chen ce7b495475 Return reason from HasMissingRequiredField. 2024-04-24 16:45:18 -05:00
Joanna Ren ab3c6089a6 update language detection 2024-04-23 17:13:38 -05:00
Haiping Chen e93fa66bcc update language. 2024-04-23 15:30:38 -05:00
Haiping Chen 2add4a6ae8 Fix localization return issue. 2024-04-23 14:48:30 -05:00
Haiping Chen 36e569ea28 Update language prompt. 2024-04-23 14:27:14 -05:00
Haiping Chen 06974977e7 translation prompt. 2024-04-23 14:02:00 -05:00
Haiping Chen 4307d7711d Refactor human intervention needed. 2024-04-22 15:46:47 -05:00
sylviachency 4aa5b92b92
Update HumanInterventionNeededHandler.cs
address transfer to person issue
2024-04-11 12:41:48 -05:00
C. Oceania 5564287871
Agent Name is contaminated. 2024-04-10 15:02:19 -05:00
Haiping Chen ca262e7ec3 ConversationBreakpoint.Reason 2024-04-07 22:15:51 -05:00
Haiping Chen 3c968bd068 PostbackFunctionName 2024-04-06 18:33:49 -05:00
Haiping Chen 551c2f8ed4 check field type in routing. 2024-04-03 09:47:32 -05:00
Haiping Chen fcb761976b Handle output routing exception. 2024-04-02 17:27:36 -05:00
Haiping Chen 15291fa6f0 Fix OnRoutingInstructionRevised 2024-03-31 11:12:20 -05:00
Haiping Chen 8f9e2adcc3 Save to Storage as well 2024-03-30 19:48:13 -05:00
Haiping Chen bed33c82fb Remove agent required args based on latest states. 2024-03-30 07:51:11 -05:00
Haiping Chen 52d542cafa response_to_user 2024-03-29 19:07:09 -05:00
Haiping Chen d8368ef83e Provide conversation_end flat in response_to_user 2024-03-29 18:36:05 -05:00
Haiping Chen 56e204c3ad expected_user_goal_agent 2024-03-29 11:46:48 -05:00
C. Oceania ffe9fb81b0
Update RoutingService.InvokeFunction.cs 2024-03-28 16:44:57 -05:00
Haiping Chen 3d7fb18ab0 optimize naive. 2024-03-28 15:38:16 -05:00
Haiping Chen 16e3a70ce7 human_intervention_needed 2024-03-28 14:09:53 -05:00
Haiping Chen 9f79dcf4a8 Save function result to Storage 2024-03-28 14:09:13 -05:00
Haiping Chen 5f5afada70 Remove task_completed 2024-03-24 23:38:00 -05:00
Haiping Chen fee89ffb96 Conversation rate limit. 2024-03-24 12:33:41 -05:00
Haiping Chen 33df282add task completed hook. 2024-03-22 14:06:20 -05:00
Haiping Chen 3a28a72f6c Skip routing rule check if current agent is empty. 2024-03-22 08:24:58 -05:00
Haiping Chen dccc345bcd Check routing rule after poping agent. 2024-03-21 17:04:45 -05:00
Haiping Chen 0609011650 RouteToAgentRoutingHandler 2024-03-20 10:38:56 -05:00
Haiping Chen d0e492820f expected_next_action_agent 2024-03-14 23:48:32 -05:00
Haiping Chen be7b5a9849 Fix InvokeFunction name. 2024-03-14 19:52:58 -05:00
Haiping Chen a36347ea42 Syn latest state before rendering prompt. 2024-03-12 11:54:20 -05:00
Haiping Chen 1bccb15058 Syn agent template dict once states has been changed. 2024-03-11 13:26:49 -05:00
Haiping Chen 7d5959f387 OnRoutingInstructionRevised 2024-03-11 11:03:42 -05:00
Haiping Chen 656b533523 Emit OnRoutingInstructionRevised 2024-03-11 09:49:17 -05:00
Haiping Chen 96bf9d2fa0 Add user_goal_description to router.
Improve stream log.
2024-03-05 11:36:48 -06:00
Haiping Chen 885097ff3d Add conversation summary for human_intervention_needed 2024-03-03 13:29:10 -06:00
Haiping Chen fb0adadf6a Unified InvokeFunction. 2024-02-29 23:44:57 -06:00
Haiping Chen beb82c855a fix GetCurrentAgentId 2024-02-28 20:45:01 -06:00
Haiping Chen 0f6a183ed4 Fix Pop agent bug. 2024-02-28 20:41:21 -06:00
Haiping Chen 72c5ec7bd9 Improve IRoutingHook. 2024-02-28 14:40:59 -06:00
Haiping Chen ac40aa645f Stream Routing context log. 2024-02-28 10:21:14 -06:00
Haiping Chen a0bf65698f Add required flag. 2024-02-27 21:15:21 -06:00
Haiping Chen 18721a6b8f Auto restore function name in InvokeFunction. 2024-02-27 14:59:08 -06:00
Haiping Chen 2582ecd578 Add TwoStagePlanner. 2024-02-27 07:19:05 -06:00
Haiping Chen c67d0cc68f Add hook of OnConversationRouting. 2024-02-22 19:53:00 -06:00
Haiping Chen f4b4ca4329 OnConversationRedirected 2024-02-22 15:14:13 -06:00
Haiping Chen 1a0e5bea57 SQL Driver 2024-02-19 16:55:41 -06:00
Haiping Chen 0473923fed improve webdrive action response. 2024-02-08 15:39:56 -06:00
Haiping Chen 4a1ae030dd Add more dialog history for SequentialPlanner 2024-02-05 23:58:38 -06:00
Haiping Chen 19ee935c29 Abstract IWebBrowser. 2024-02-05 23:05:52 -06:00
Haiping Chen 8aa7158932 Fix sequential planning infinite loop. 2024-02-04 22:22:43 -06:00
Haiping Chen c5f15b8340 Allow WebDriver use persistent context. 2024-02-04 16:55:46 -06:00
Haiping Chen a8c2b49d6f AgentTask 2024-02-02 16:36:05 -06:00
Haiping Chen 2ad0f23d8c Optimize WebDriver. 2024-02-01 22:16:57 -06:00
Haiping Chen a3c6a6b93c planner get remaining task. 2024-02-01 12:32:16 -06:00
Haiping Chen 67fd6f79fd Allow agent to inherit from other agent. 2024-01-29 12:08:49 -06:00
Haiping Chen ab0b200406 Change planner setting to agent level. 2024-01-26 19:14:14 -06:00
Haiping Chen e1a948c9c7 Allow task agent to fallback to predefined router. 2024-01-26 16:23:10 -06:00
Haiping Chen 8558e46ee1 resolve conflict 2024-01-25 22:44:42 -06:00
Haiping Chen 36e1ba4813 MaxRecursionDepth 2024-01-25 22:42:57 -06:00
Haiping Chen 69633c8a20 Standarderize agent type. 2024-01-25 22:32:48 -06:00
Haiping Chen 9d3cd6b6e9 Support multi-agent with different profile. 2024-01-24 17:02:59 -06:00
Haiping Chen 091e7b4212 SequentialPlanner draft. 2024-01-23 17:14:57 -06:00
Haiping Chen 8748db4fde Complete plugin name and description. 2024-01-16 13:23:45 -06:00
Haiping Chen 6286393242 Plugin settings with interaction with UI. 2024-01-15 13:15:18 -06:00
Haiping Chen e456cdb83a Chang GetChatCompletions to async. 2024-01-13 22:48:26 -06:00
Haiping Chen 3022cf50cb Support to set multiple routers. 2024-01-13 15:17:40 -06:00
Haiping Chen cdae1235da UnmatchedAgent 2024-01-06 16:24:22 -06:00
hchen 1c03789a38 Fix config priority. 2023-12-15 11:54:44 -06:00
Haiping Chen 89af1d72a6 Set default LlmConfig for Agent level. 2023-12-13 17:16:34 -06:00