Commit graph

2659 commits

Author SHA1 Message Date
Jicheng Lu 0cd2863cb0 Merge branch 'master' of https://github.com/SciSharp/BotSharp 2025-03-12 10:15:30 -05:00
Jicheng Lu 85cf382adc refine chat log 2025-03-12 10:13:57 -05:00
nick.yi 025b0a1d5c optimize input audio transcription 2025-03-12 22:57:12 +08:00
hchen2020 fecf989c13
Merge branch 'SciSharp:master' into master 2025-03-12 08:59:46 -05:00
Haiping b9e9d5865f
Merge pull request #933 from visagang/features/vguruparan
Update timeout for web driver logic to fetch from appSettings
2025-03-12 08:57:21 -05:00
Visagan Guruparan 47d728b68a Update default timeout to lowercasing 2025-03-12 08:53:38 -05:00
Visagan Guruparan e570672a36 Update default timeout to 30sec 2025-03-12 08:49:31 -05:00
Visagan Guruparan 7d4d233f7e Update timeout for web driver logic to fetch from appSettings 2025-03-11 22:01:16 -05:00
hchen2020 3a2d4bc3de
Merge branch 'SciSharp:master' into master 2025-03-11 21:01:09 -05:00
Haiping Chen 9fe9b123f1 HandleUserDtmfReceived 2025-03-11 20:57:49 -05:00
Haiping Chen a537a647cd politely ending phone call 2025-03-11 17:20:44 -05:00
Stephen Toub 23baf70088 Update to M.E.AI 9.3.0-preview.1.25161.3 2025-03-11 16:48:44 -04:00
Jicheng Lu db3ed51875 get template name from state 2025-03-11 10:18:54 -05:00
Haiping 72a49a0a1a
Merge pull request #929 from visagang/features/vguruparan
Update headless setting for Playwright
2025-03-11 09:11:05 -05:00
Haiping Chen 0d8e9903cb Increase ReceiveMessage buffer to 32K. 2025-03-10 21:56:18 -05:00
iceljc af099514dd
Merge pull request #930 from iceljc/master
refine agent task
2025-03-10 17:12:11 -05:00
Jicheng Lu 25a9c77cdd refine agent task 2025-03-10 17:03:23 -05:00
Visagan Guruparan b8083b2f38 Fetch WebDrive headless setting from config 2025-03-10 16:54:51 -05:00
Visagan Guruparan 7571512e0d Update headless setting for Playwright 2025-03-10 15:52:43 -05:00
hchen2020 c6fc411dd5
Merge branch 'SciSharp:master' into master 2025-03-10 13:38:27 -05:00
Jicheng Lu 9f71816177 refine state key search 2025-03-10 12:14:44 -05:00
hchen2020 f27996f6c4
Merge branch 'SciSharp:master' into master 2025-03-10 11:03:18 -05:00
Haiping Chen ae7680da3d Hang-up if waiting AI Response Timeout 2025-03-10 10:10:22 -05:00
Jicheng Lu eb81ad212a add instruction log setting and state search 2025-03-09 22:21:34 -05:00
Haiping Chen 17bb86b311 Return instruction for realtime response.create. 2025-03-07 18:40:28 -06:00
Jicheng Lu e7150729d9 refine menu 2025-03-07 17:13:08 -06:00
Jicheng Lu 96ec0b5969 rename 2025-03-07 11:01:54 -06:00
Jicheng Lu 6c735a0aad refine document 2025-03-06 17:44:49 -06:00
iceljc 8fd5ac1315
Merge pull request #918 from iceljc/master
refine instruction log
2025-03-06 17:02:26 -06:00
Jicheng Lu 1275053d66 migrate conv latest states 2025-03-06 16:46:38 -06:00
Haiping Chen f9cc755444 RealtimeConversationHook 2025-03-06 15:10:17 -06:00
Haiping Chen c8a565f585 Seperate realtime in a new project 2025-03-06 12:01:43 -06:00
Jicheng Lu c4d2f5b026 relocate 2025-03-06 11:31:53 -06:00
Jicheng Lu ae84088b5f refine instruction log 2025-03-06 11:11:45 -06:00
nick.yi af01567fae hotfix duplicate welcome message 2025-03-06 20:23:40 +08:00
nick.yi 5d10f3d305 optimize RealTime 2025-03-06 17:03:30 +08:00
Jicheng Lu f60bcda896 relocate 2025-03-05 17:32:02 -06:00
Jicheng Lu 6ed0afe439 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-latest-state 2025-03-05 17:23:28 -06:00
Jicheng Lu 366e1339c6 refactor instruction 2025-03-05 17:22:46 -06:00
Haiping Chen 89fc99f4e1 prevent initial response interruption 2025-03-05 16:57:58 -06:00
Haiping Chen 9c50824369 Support DTMF in realtime 2025-03-05 16:57:34 -06:00
Haiping Chen d69f19bd41 refactor realtime code. 2025-03-05 12:29:28 -06:00
Haiping a205b9b407
Merge pull request #912 from kerryjiang/centralpackversion
Use ManagePackageVersionsCentrally for more projects
2025-03-05 08:13:18 -06:00
nick.yi d78c77141b 1.hotfix timestamp,mark and interruption handling
2.Hotfix message persistence
2025-03-05 21:48:06 +08:00
Jicheng Lu 263ec44517 refine 2025-03-04 23:25:12 -06:00
Jicheng Lu e0fffe191c add latest state 2025-03-04 17:25:35 -06:00
Haiping Chen b4862837da Mak initial audio is not interruptable 2025-03-03 15:30:06 -06:00
geffzhang 8b467891fc
Merge branch 'master' into mcp 2025-03-03 07:28:24 +08:00
geffzhang 0fbff1fb7b Update MCPToolAgentHook.cs 2025-03-02 20:49:07 +08:00
Kerry Jiang c0a15f87e3 remove ManagePackageVersionsCentrally from individual projects and add it in Directory.Packages.props 2025-03-01 19:57:50 -08:00
Kerry Jiang 885b16f220 more projects 2025-03-01 11:57:38 -08:00
Kerry Jiang 61e3d2f04a more projects 2025-03-01 11:44:52 -08:00
Haiping Chen c096b63656 Output input audio transcript. 2025-02-28 20:42:03 -06:00
Haiping Chen e3036ef3ba add welcome for realtime 2025-02-28 18:19:44 -06:00
Jicheng Lu 235d972ca1 remove data 2025-02-28 16:47:03 -06:00
Jicheng Lu 64831f5b3a minor change 2025-02-28 15:35:46 -06:00
Jicheng Lu ac76a08524 Merge branch 'master' of https://github.com/SciSharp/BotSharp 2025-02-28 15:35:00 -06:00
Jicheng Lu 2851851657 refine lock key 2025-02-28 15:34:53 -06:00
hchen2020 284c588df3
Merge branch 'SciSharp:master' into master 2025-02-28 15:27:40 -06:00
Haiping Chen 606026130a rollback reset states 2025-02-28 15:26:45 -06:00
iceljc 5c90f2cd8a
Merge pull request #905 from iceljc/master
add agent id in resource key
2025-02-28 13:03:44 -06:00
Haiping Chen 265d439938 Merge branch 'master' of https://github.com/hchen2020/BotSharp 2025-02-28 12:45:13 -06:00
Haiping Chen 14b6d41ce5 OnSessionUpdated log 2025-02-28 12:44:59 -06:00
Jicheng Lu 152811cc72 add agent id in resource key 2025-02-28 10:00:58 -06:00
Haiping 2ab73ead56
Update agent.json 2025-02-28 09:51:48 -06:00
Haiping Chen a15821061f Upgrade package 2025-02-27 21:19:20 -06:00
Haiping f581c3c393
Merge pull request #897 from kerryjiang/centralpackversion
Use ManagePackageVersionsCentrally for more projects
2025-02-28 10:57:00 +08:00
geffzhang e9bc28fa55 feat: use mpdotnet nuget package 2025-02-28 07:18:34 +08:00
Jicheng Lu da8671fd8c Merge branch 'master' of https://github.com/SciSharp/BotSharp 2025-02-27 16:20:58 -06:00
Jicheng Lu 3e0d1a4d2a add try catch 2025-02-27 16:19:43 -06:00
Haiping Chen 419b4717d6 Support AgentId for twilio stream 2025-02-27 12:52:14 +08:00
Haiping Chen 9d570311d1 realtime route to agent 2025-02-26 22:40:50 -06:00
geffzhang ffcb1e3b52 feat : test pizza with mcp 2025-02-27 12:39:07 +08:00
Haiping Chen 1468c01f46 Remove call_sid from function util-twilio-hangup_phone_call 2025-02-26 13:16:57 -06:00
Haiping Chen 20563d28f5 Merge branch 'master' into routing-utility 2025-02-26 11:52:41 -06:00
Haiping Chen e68f245f2a Add Twilio HangupPhoneCallFn 2025-02-26 11:41:52 -06:00
geffzhang 10837003b7 Update appsettings.json 2025-02-26 12:46:16 +08:00
geffzhang b8926a2c18 feat: add pizza mcp test server 2025-02-26 12:14:37 +08:00
hchen2020 83d1042277
Merge branch 'SciSharp:master' into master 2025-02-25 20:42:50 -06:00
Jicheng Lu 2428349247 remove limit 2025-02-25 19:50:11 -06:00
geffzhang 8a0df48079 Merge branch 'mcp' of https://github.com/Ai4c-AI/BotSharp into mcp 2025-02-26 07:06:51 +08:00
geffzhang cca509dbcb
Merge branch 'mcp' into mergecode 2025-02-26 07:05:47 +08:00
geffzhang 485757c5f3 feat: remove mcptooltemplate 2025-02-26 06:56:46 +08:00
Haiping Chen c029f61a79 Merge branch 'master' into routing-utility 2025-02-25 14:52:53 -06:00
hchen2020 ad0130168e
Merge branch 'SciSharp:master' into master 2025-02-25 13:25:15 -06:00
Jicheng Lu 80fc2f6c78 add confidence 2025-02-25 11:56:37 -06:00
geffzhang 69993bdca8 feat:Migrate MCP to the independent BotSharp.MCP package 2025-02-25 22:57:22 +08:00
Haiping Chen 51d933e3db lazy routing (WIP) 2025-02-24 22:35:22 -06:00
Haiping Chen 8e668b8627 Add document type of knowledge retrieval 2025-02-24 12:14:25 -06:00
hchen2020 6c40c6b770
Merge branch 'SciSharp:master' into master 2025-02-24 11:12:04 -06:00
Haiping Chen 899f03feee Clean code #870 2025-02-25 01:05:26 +08:00
Haiping a21563714e
Merge pull request #870 from AaronWar/master
增加智能体知识库的查询Add Agent query Knowledge function
2025-02-24 10:58:17 -06:00
geffzhang 731355d110 feat: Rename Agent Context Protocols 2025-02-24 09:04:44 +08:00
geffzhang 9b662168ff feat : Agent add mcp property 2025-02-23 22:55:35 +08:00
geffzhang ddecb4d19a Update appsettings.json 2025-02-23 19:45:22 +08:00
geffzhang 739f2a54fa feat:Integrated model context protocol(mcp) 2025-02-23 19:45:05 +08:00
Kerry Jiang 15c5fc3a5e more projects on ManagePackageVersionsCentrally 2025-02-22 09:08:59 -08:00
Kerry Jiang fab5a17b75 more projects on ManagePackageVersionsCentrally 2025-02-22 08:55:47 -08:00
hchen2020 2403d46826
Merge branch 'SciSharp:master' into master 2025-02-21 11:43:03 -06:00
Jicheng Lu ed8b3aa717 add llm configs 2025-02-21 11:37:36 -06:00
Jicheng Lu 76b52af3b9 Merge branch 'master' of https://github.com/SciSharp/BotSharp 2025-02-20 22:52:17 -06:00
Jicheng Lu 37aa85af36 refine chat instruction 2025-02-20 22:52:02 -06:00
Jicheng Lu 6e9237ca4b refine llm completion log 2025-02-20 12:17:21 -06:00
Jicheng Lu 816abe9310 clean execution log 2025-02-20 11:59:59 -06:00
Jicheng Lu 8048524a31 refine state 2025-02-20 11:26:49 -06:00
Haiping Chen 6bd2af4151 Remove IConversationSideCar dependency 2025-02-20 09:33:47 -06:00
Haiping Chen cd0fa0e222 Remove BotSharp.Core.Rules 2025-02-20 09:14:28 -06:00
Haiping Chen 6aaaac6fa0 move data back 2025-02-20 08:13:00 +08:00
Haiping c3ed1d3350
Merge branch 'SciSharp:master' into master 2025-02-19 17:36:48 -06:00
hchen2020 b09c69786e
Merge branch 'SciSharp:master' into master 2025-02-19 14:26:13 -06:00
Jicheng Lu 48967e2910 merge with upstream 2025-02-19 13:58:13 -06:00
Jicheng Lu a3344c6caf refine 2025-02-19 12:20:35 -06:00
Jicheng Lu c3459e34d4 minor change 2025-02-19 11:16:51 -06:00
Jicheng Lu 391aa0edef Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/refine-agent-call-stats 2025-02-19 10:37:20 -06:00
iceljc 3aea08d6ae
Merge pull request #892 from stephentoub/updatemeai
Update Microsoft.Extensions.AI to 9.3.0-preview.1.25114.11
2025-02-19 10:37:04 -06:00
Jicheng Lu fcb07becdc Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/refine-agent-call-stats 2025-02-19 10:26:35 -06:00
iceljc 29c8b023b5
Merge pull request #884 from zfchai/style-MongoDbContext
Code style adjustment and partial optimization
2025-02-19 10:26:23 -06:00
Jicheng Lu 25502b3dcb Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/refine-agent-call-stats 2025-02-19 10:11:52 -06:00
Jicheng Lu 8f5a307cd9 remove comments 2025-02-19 10:08:26 -06:00
Jicheng Lu 448d9a2a53 disable state load and save in sidecar 2025-02-18 13:25:51 -06:00
Jicheng Lu eee93541ec store dialog data 2025-02-17 11:56:53 -06:00
Haiping 2ed2d956fc
Merge branch 'SciSharp:master' into master 2025-02-17 13:55:22 +00:00
Gil Zhang ed44d04fde
Revert "Remove obsolete nuget packages for BotSharp.Abstraction" 2025-02-17 20:24:08 +08:00
Stephen Toub bb0511882e Update Microsoft.Extensions.AI to 9.3.0-preview.1.25114.11 2025-02-17 00:38:25 -05:00
Jicheng Lu ad7d9a128d reso 2025-02-15 19:32:53 -06:00
Haiping Chen d8a4dc4d17 IWebBrowser.IsBrowserClosed 2025-02-15 11:34:00 +08:00
Jicheng Lu 172e316c31 refine conv state key search 2025-02-14 11:19:39 -06:00
Haiping Chen 4e8a307f3d move data to WebStarter 2025-02-14 16:10:20 +00:00
Haiping Chen 9a6d22eeeb Set UrlAfterAction 2025-02-14 16:07:45 +00:00
Haiping 760a33052c
Merge branch 'SciSharp:master' into master 2025-02-15 00:04:16 +08:00
chait d824d16e69 [style] Code style adjustment. 2025-02-14 18:29:51 +08:00
Jicheng Lu 278751c107 clean code 2025-02-13 15:38:09 -06:00
Jicheng Lu 5c6e499051 send by group 2025-02-13 14:52:46 -06:00
Haiping Chen fec696493b enable all ValidateRequest 2025-02-13 13:59:57 -06:00
Jicheng Lu 115477f3ea add agent id as ref 2025-02-13 12:06:15 -06:00
Haiping Chen e45713fea9 Change default app data folder 2025-02-14 00:51:43 +08:00
gil zhang bd3f29c3d4 Remove obsolete nuget packages for BotSharp.Abstraction 2025-02-13 22:26:26 +08:00
chait a158ca04b1 [style] Code style adjustment; 2025-02-13 11:52:15 +08:00
chait ccd7c23da9 [update] Non empty code style constraint (default value constraint), change CreateTime to CreatedTime. 2025-02-13 11:42:16 +08:00
chait 513007b7ce [update] Non empty code style constraint (default value constraint), unified optimization of the CreatedTime field and MongoDBContext methods; 2025-02-13 11:25:32 +08:00
Haiping Chen 521ce62c41 remove unnecessary project reference. 2025-02-13 09:14:00 +08:00
Haiping Chen 7fa6bc18c3 enable ValidateRequest 2025-02-12 12:29:06 -06:00
hchen2020 5d2bc54415
Merge branch 'SciSharp:master' into master 2025-02-12 10:23:53 -06:00
Jicheng Lu 7f42aa7406 minor change 2025-02-12 10:21:28 -06:00
Jicheng Lu a1717d3b94 fix import 2025-02-12 10:19:32 -06:00
hchen2020 6894349b63
Merge branch 'SciSharp:master' into master 2025-02-12 09:08:47 -06:00
Jicheng Lu 00c8e8cc46 rename and add cache 2025-02-11 19:16:49 -06:00
Haiping Chen fd08718831 Merge branch 'master' of https://github.com/hchen2020/BotSharp 2025-02-11 17:27:19 -06:00
Haiping Chen 572205d628 onInputAudioTranscriptionCompleted 2025-02-11 17:27:07 -06:00
hchen2020 4a61d61615
Merge branch 'SciSharp:master' into master 2025-02-11 17:26:39 -06:00
Jicheng Lu 96b23e4244 sort 2025-02-11 15:16:54 -06:00
Jicheng Lu f423a40f53 refine state search 2025-02-11 14:27:53 -06:00
Haiping Chen 65c2c0f893 message.Role = clonedMessage.Role 2025-02-10 21:51:45 -06:00
Haiping Chen bbc2325ddc realtime outbound call 2025-02-10 17:28:03 -06:00
Haiping Chen 2c41ddc042 realtime function call output 2025-02-10 15:52:10 -06:00
hchen2020 826eb60259
Merge branch 'SciSharp:master' into master 2025-02-09 17:32:13 -06:00
Haiping Chen d9480fb0d3 RealtimeHub & Tool use 2025-02-09 17:31:46 -06:00
Jicheng Lu e98ab682a7 ignore extra mongo elements 2025-02-08 15:49:26 -06:00
Haiping Chen 738d87de53 IRealtimeHub 2025-02-07 16:40:57 -06:00
Haiping Chen e45c6c0287 init conversation for stream 2025-02-07 13:41:20 -06:00
hchen2020 2d7e66b550
Merge branch 'SciSharp:master' into master 2025-02-07 13:16:18 -06:00
Haiping Chen a3060e84e8 Merge branch 'master' of https://github.com/hchen2020/BotSharp 2025-02-07 11:19:04 -06:00
Haiping Chen 1484d55907 realtime channel works. 2025-02-07 11:18:47 -06:00
Haiping Chen 1d4c534eeb Add more log 2025-02-06 21:27:13 -06:00
Haiping Chen cde90796d7 print header for debug 2025-02-06 20:30:55 -06:00
Haiping Chen dc6cd0055a disable twilio ValidateRequest 2025-02-06 20:12:00 -06:00
Jicheng Lu 9b9c58845c add cpvm 2025-02-06 13:33:16 -06:00
iceljc 1c7cbbdcf5
Revert "Centralized package version for some projects" 2025-02-06 13:15:36 -06:00
iceljc 9d1767c4c4
Merge pull request #860 from kerryjiang/centralpackversion
Centralized package version for some projects
2025-02-06 10:10:31 -06:00
Haiping 641e9dd974
Merge branch 'master' into master 2025-02-05 18:56:23 -06:00
iceljc 52f7a976ca
Merge pull request #871 from iceljc/master
add max output token
2025-02-05 17:51:05 -06:00
Jicheng Lu 78a95914b1 add max output token 2025-02-05 17:50:32 -06:00
AaronWar 63fb9c2e34
Update KnowledgeBasePlugin.cs 2025-02-05 07:51:39 +08:00
AaronWar 52f7e01002
Add files via upload 2025-02-05 07:49:52 +08:00
Haiping Chen 7535d1b386 Merge branch 'master' of https://github.com/hchen2020/BotSharp 2025-02-04 15:56:55 -06:00
Haiping Chen 4e48baa9c6 support input password 2025-02-04 15:56:25 -06:00
Jicheng Lu e208d1d8ff refine global stats 2025-02-04 15:32:26 -06:00
iceljc 0aa14205cd
Merge pull request #867 from iceljc/master
refine statistics
2025-02-03 20:19:24 -06:00
Jicheng Lu 034846bf02 refine statistics 2025-02-03 20:16:01 -06:00
iceljc c951131cba
Merge pull request #866 from iceljc/master
revert
2025-02-03 18:03:17 -06:00
Jicheng Lu 00fc065233 revert 2025-02-03 18:02:31 -06:00
Haiping Chen 40926251d7 Merge branch 'master' of https://github.com/hchen2020/BotSharp 2025-02-03 17:44:03 -06:00
Haiping Chen 46787e80c4 WebUtility improvement 2025-02-03 17:43:04 -06:00
Jicheng Lu 16bea297fc add routing dialogs 2025-02-03 15:12:36 -06:00
Jicheng Lu 377c4e42c8 fix 2025-02-03 13:03:21 -06:00
iceljc c62be1194f
Merge pull request #862 from iceljc/master
Revert
2025-02-03 10:10:39 -06:00
Jicheng Lu bec8f6ec1b Merge branch 'master' of https://github.com/iceljc/BotSharp 2025-02-03 10:09:53 -06:00
Jicheng Lu 1713e90ad8 revert 2025-02-03 10:09:40 -06:00
Haiping Chen 403f59399d Merge branch 'master' of https://github.com/SciSharp/BotSharp 2025-02-03 04:03:18 +00:00
Haiping Chen 3f33182cf8 realtime test 2025-02-03 04:02:36 +00:00
iceljc a7027f90e6
Merge pull request #861 from iceljc/master
revert
2025-02-02 21:33:12 -06:00
Jicheng Lu d9d87a2e67 revert 2025-02-02 21:31:46 -06:00
Kerry Jiang 6fb7c14685 centralized package version for some projects 2025-02-01 13:31:32 -08:00
Haiping 98eb763f05
Merge pull request #858 from hchen2020/master
Add IsRealTime Flag
2025-01-31 17:11:58 -06:00
Jicheng Lu d6ebf80a7b fix dashboard 2025-01-31 14:49:38 -06:00
Haiping Chen 2e00e7bed9 Add IsRealTime Flag 2025-01-31 10:37:04 -06:00
Jicheng Lu 6dba5cdd65 add labels 2025-01-31 10:26:16 -06:00
Jicheng Lu 25d1e2fcd7 refine instruction 2025-01-30 16:43:56 -06:00
Jicheng Lu 169cb95e62 refine 2025-01-30 15:58:57 -06:00
Jicheng Lu d34284eddf Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/refine-agent-filter 2025-01-30 11:15:00 -06:00