Commit graph

903 commits

Author SHA1 Message Date
Jicheng Lu 4723c64e3c clean code 2024-04-08 09:58:25 -05:00
Haiping Chen ca262e7ec3 ConversationBreakpoint.Reason 2024-04-07 22:15:51 -05:00
Jicheng Lu 76de65e8f5 clean code 2024-04-07 13:38:56 -05:00
Jicheng Lu 8fd6f6a99e add hook 2024-04-07 13:37:16 -05:00
Haiping Chen 7c061af7f5 ConversationStorage.Append 2024-04-06 22:24:55 -05:00
Haiping Chen 491452ece1 Restore Append 2024-04-06 19:00:58 -05:00
Haiping Chen 3c968bd068 PostbackFunctionName 2024-04-06 18:33:49 -05:00
Jicheng Lu d530b59b1a patch state source 2024-04-05 13:53:37 -05:00
Haiping Chen b7c80cf11b Upgrade EntityFrameworkCore.BootKit 2024-04-04 21:43:13 -05:00
Jicheng Lu 575d298401 enable agent id 2024-04-04 19:14:09 -05:00
Jicheng Lu a432e3ca9e enable plugin by dependency 2024-04-04 17:41:52 -05:00
Haiping Chen cc6244a301 HttpRequestParams 2024-04-03 20:05:10 -05:00
C. Oceania f063756096
Merge pull request #391 from iceljc/features/optimize-con-state
optimize state
2024-04-03 17:40:41 -05:00
Jicheng Lu 2a4c53f4da add setting 2024-04-03 15:03:43 -05:00
Jicheng Lu 093663d436 add channel 2024-04-03 14:51:07 -05:00
Jicheng Lu d2d28be378 optimize state 2024-04-03 12:12:31 -05:00
Haiping Chen 551c2f8ed4 check field type in routing. 2024-04-03 09:47:32 -05:00
C. Oceania 3b248c3d6b
Merge pull request #387 from iceljc/features/refine-conv-states
Features/refine conv states
2024-04-02 22:21:41 -05:00
Haiping Chen fcb761976b Handle output routing exception. 2024-04-02 17:27:36 -05:00
Jicheng Lu 40bafdc327 add readonly 2024-04-02 15:39:14 -05:00
Jicheng Lu da42be0477 minor change 2024-04-02 14:24:04 -05:00
Jicheng Lu 8168b22707 refine element button 2024-04-02 14:09:42 -05:00
Jicheng Lu 7ae9e3ef60 refine states 2024-04-02 11:38:18 -05:00
Jicheng Lu a6d57e417c minor change 2024-04-02 09:44:40 -05:00
C. Oceania 6f93347b08
Merge pull request #385 from iceljc/features/refine-json-converter
refine json converter
2024-04-02 06:02:14 -05:00
Jicheng Lu 1f80192bf3 refine json converter 2024-04-01 22:33:42 -05:00
Haiping Chen 601b64b50a Prevent duplicate record to be inserted 2024-04-01 21:10:21 -05:00
Jicheng Lu a649b658e4 add agent queue changed event 2024-03-31 23:55:13 -05:00
Haiping Chen f1999f32e7 GetProviders only when the setting has value. 2024-03-31 16:54:22 -05:00
Haiping Chen f5eaa716ea Add featuer of VisibilityExpression 2024-03-31 14:28:16 -05:00
Haiping Chen 15291fa6f0 Fix OnRoutingInstructionRevised 2024-03-31 11:12:20 -05:00
C. Oceania a245d71ca7
Merge pull request #381 from iceljc/features/refine-state-change
add active round log
2024-03-31 07:27:29 -05:00
Jicheng Lu f61ee50014 add active round log 2024-03-30 22:43:45 -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 48cae89ac7 OnConversationEnding 2024-03-29 19:51:22 -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
Jicheng Lu fc7a82de01 refine state node 2024-03-29 16:37:35 -05:00
Jicheng Lu fd96a38818 refine state node 2024-03-29 16:01:13 -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 25a4ec3949 Merge branch 'master' of https://github.com/hchen2020/BotSharp 2024-03-28 14:10:07 -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
Jicheng Lu bd7d3ffafa add state change event 2024-03-28 13:16:16 -05:00
Jicheng Lu 78ef7b6c37 refine rc options 2024-03-28 10:32:09 -05:00
Jicheng Lu 364414fdcf fix cur message id 2024-03-27 22:21:34 -05:00
C. Oceania 2cb5ccfee0
Change OnBreakpointUpdated to HardRule 2024-03-27 15:06:24 -05:00
C. Oceania 777c10a426
Merge pull request #368 from iceljc/features/refine-breakpoint
add active rounds to state
2024-03-27 14:15:29 -05:00
Jicheng Lu 55480a97ea add active rounds to state 2024-03-27 13:50:27 -05:00
Haiping Chen 280330bd33 Not trigger if replyMessage.FunctionName is empty. 2024-03-27 11:19:13 -05:00
C. Oceania de2f4ee5b1
Merge pull request #365 from iceljc/features/refine-breakpoint
refine state
2024-03-27 06:49:38 -05:00
Haiping Chen ac6ad99975 GetAgent perInstanceCache 2024-03-26 19:26:11 -05:00
Jicheng Lu 03f041a68c minor change 2024-03-26 18:11:05 -05:00
Jicheng Lu 50d1c43cf0 minor change 2024-03-26 17:09:49 -05:00
Jicheng Lu d572f90502 refine state 2024-03-26 16:57:13 -05:00
C. Oceania 747eb2dc2c
Clone message when received 2024-03-26 14:19:56 -05:00
Jicheng Lu fc74da3eb0 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/refine-breakpoint 2024-03-26 12:40:39 -05:00
Jicheng Lu 1ee3c4eb14 add breakpoint 2024-03-26 12:10:34 -05:00
Haiping Chen 691c3b2654 Delay persisting message to allow message content to be changed in hook. 2024-03-26 11:10:27 -05:00
Haiping Chen 99e0cbf33c Add openai provider. 2024-03-25 18:14:14 -05:00
C. Oceania d33bd37615
Merge pull request #361 from iceljc/features/refine-conversation-functionality
Features/refine conversation functionality
2024-03-25 17:31:54 -05:00
Jicheng Lu a918b88937 refine background service 2024-03-25 17:29:08 -05:00
Jicheng Lu 7f15dcd8a3 refine json converter 2024-03-25 14:12:08 -05:00
Haiping Chen 7fb5410097 Support model_id in InstructMode 2024-03-25 11:22:43 -05:00
Haiping Chen 4d99bf788c Fix StreamingLogHook.OnBreakpointUpdated 2024-03-25 08:29:49 -05:00
Jicheng Lu 0579a15efb add missing field 2024-03-25 02:44:37 -05:00
Jicheng Lu 2bcbfcb394 add start time in conv filter 2024-03-25 01:28:20 -05:00
Jicheng Lu 743a9024bf resolve conflict 2024-03-24 23:41:47 -05:00
Jicheng Lu 5018e34896 fix validation and truncate message 2024-03-24 23:40:15 -05:00
Haiping Chen 5f5afada70 Remove task_completed 2024-03-24 23:38:00 -05:00
Haiping Chen 4ad9b095ea Set default settings. 2024-03-24 20:38:28 -05:00
Haiping Chen fee89ffb96 Conversation rate limit. 2024-03-24 12:33:41 -05:00
Haiping Chen f7cbbe84de UpdateBreakpoint resetStates 2024-03-24 08:56:21 -05:00
Haiping Chen b9bfe0a7df Add breakpoint feature. 2024-03-23 20:31:15 -05:00
Haiping Chen 6a87a035bc #TEMPLATE# 2024-03-22 22:09:43 -05:00
hchen2020 d202883dd0
Merge branch 'SciSharp:master' into master 2024-03-22 16:19:46 -05:00
Jicheng Lu e39a03b9cc Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-google-api 2024-03-22 14:14:16 -05:00
Jicheng Lu b2ac5707ae add web driver get attribute value 2024-03-22 14:12:45 -05:00
hchen2020 531acfc8d1
Merge branch 'SciSharp:master' into master 2024-03-22 14:09:05 -05:00
Haiping Chen 33df282add task completed hook. 2024-03-22 14:06:20 -05:00
C. Oceania 483eb5c1d3
Merge pull request #354 from iceljc/features/fulfill-redirect-to-agent
add redirect to agent
2024-03-22 10:14:52 -05:00
hchen2020 fae00aa802
Merge branch 'SciSharp:master' into master 2024-03-22 10:12:42 -05:00
Haiping Chen a7185de6b5 IRichMessage [JsonPropertyName("text")] 2024-03-22 10:12:25 -05:00
hchen2020 f7becd9bb8
Merge branch 'SciSharp:master' into master 2024-03-22 08:25:22 -05:00
Haiping Chen 3a28a72f6c Skip routing rule check if current agent is empty. 2024-03-22 08:24:58 -05:00
Haiping Chen 347b90c60c Merge branch 'master' of https://github.com/hchen2020/BotSharp 2024-03-22 07:59:43 -05:00
Haiping Chen 80995f54df Merge branch 'master' of https://github.com/hchen2020/BotSharp 2024-03-22 07:53:54 -05:00
Jicheng Lu 19dfe06ce2 add redirect to agent 2024-03-22 01:30:57 -05:00
Jicheng Lu 37716e3bde Merge branch 'features/add-google-api' of https://github.com/iceljc/BotSharp into features/add-google-api 2024-03-22 00:50:34 -05:00
Jicheng Lu 56f7fb3d4e modify google api 2024-03-22 00:50:23 -05:00
Haiping Chen ed860f3631 Allow to override TemplateType in GenericTemplateMessage<T> 2024-03-21 20:55:46 -05:00
Jicheng Lu 389dbacf78 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-google-api 2024-03-21 20:36:03 -05:00
Haiping Chen c55153db67 [JsonPropertyName("text")] 2024-03-21 19:46:51 -05:00
Haiping Chen dccc345bcd Check routing rule after poping agent. 2024-03-21 17:04:45 -05:00
Jicheng Lu 919a6ed968 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-google-api 2024-03-21 11:54:16 -05:00
Jicheng Lu a88c3dd5d6 minor change 2024-03-21 11:53:46 -05:00
Haiping Chen 7b26a81a70 Add property is_horizontal to rich content. 2024-03-20 20:14:05 -05:00