Commit graph

1882 commits

Author SHA1 Message Date
Visagan Guruparan 351d65bd6d clean code 2025-06-13 11:13:21 -05:00
Visagan Guruparan a581091248 Update webdriver upload files method 2025-06-13 11:08:53 -05:00
Haiping f6ce283b9b
Merge pull request #1074 from Joannall/master
Refactor SQL Driver Plugin and Update Database Handling
2025-06-11 08:59:28 -05:00
Haiping 6f0754c143
Merge pull request #1073 from visagang/features/vguruparan
Update locating element log level to warning
2025-06-11 08:58:41 -05:00
Joanna Ren b557342bb1 Refactor SQL Driver Plugin and Update Database Handling
- Added a new folder for helpers in the project file.
- Removed the `SqlDriverHelper` class and its `GetDatabaseType` method.
- Updated `SqlDriverAgentHook` to retrieve database type directly from `SqlStatement`.
- Enhanced `SqlStatement` with new properties: `DBProvider`, `Schema`, and `Tables`.
- Removed registration of `SqlDriverAgentHook` in `SqlDriverPlugin`.
- Cleaned up global using directives by removing `Helpers`.
- Modified `GetTableDefinitionFn` to accept a schema parameter for Redshift queries.
- Updated `SqlSelect` to use `DBProvider` from `SqlStatement`.
- Revised JSON schema definitions to require `db_provider` and `schema`.
- Clarified Liquid template instructions for database connections and SQL execution.
- Streamlined rules for calling `util-db-verify_dictionary_term`.
2025-06-10 16:55:33 -05:00
Visagan Guruparan c386fb48bd Update locating element log level to warning 2025-06-10 11:16:33 -05:00
Jicheng Lu 0c820aac8e sync with ui 2025-06-06 13:16:30 -05:00
Jicheng Lu ef5f196927 add agent utility description 2025-06-04 22:15:07 -05:00
Jicheng Lu 02839c643d add mission category 2025-05-29 15:21:51 -05:00
Jicheng Lu 2789fa955d add missing category 2025-05-29 15:20:05 -05:00
Jicheng Lu f5242a83b3 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/refine-file-instruct 2025-05-29 14:22:36 -05:00
Jicheng Lu 2ce3f6c070 refine file name 2025-05-29 13:58:47 -05:00
Jicheng Lu 3bb50a6350 nullable 2025-05-28 18:00:11 -05:00
Jicheng Lu a33d43c902 minor change 2025-05-28 17:15:37 -05:00
Jicheng Lu 1d0284eef4 minor change 2025-05-28 16:53:45 -05:00
Jicheng Lu 1792da38ef refine utility structure 2025-05-28 16:16:48 -05:00
Jicheng Lu 11f5234bfd clean code 2025-05-28 12:05:29 -05:00
Jicheng Lu 19e16ff4fe temp save 2025-05-28 08:59:29 -05:00
Jicheng Lu 0a0da61db3 temp save 2025-05-27 21:23:20 -05:00
Jicheng Lu 78579fe4fe use binary data 2025-05-27 19:56:14 -05:00
Jicheng Lu 28d4f4e9ba add utility visibility expression 2025-05-27 15:23:37 -05:00
Jicheng Lu c79e35b653 use model id 2025-05-26 00:28:50 -05:00
Jicheng Lu b6e6de591f add gemini file content 2025-05-26 00:23:31 -05:00
Jicheng Lu ae12a2e92b refine http headers 2025-05-23 10:41:56 -05:00
Jicheng Lu ba0b486d5a minor change 2025-05-22 16:57:27 -05:00
Jicheng Lu 6def003141 trigger agent instruction logging in realtime 2025-05-22 14:59:35 -05:00
Jicheng Lu 2bf15f5078 refine routing mode 2025-05-22 13:58:42 -05:00
Jicheng Lu aab468f410 add session logging and crontab settings 2025-05-20 10:59:42 -05:00
Jicheng Lu 73c2e9c72e minor refine 2025-05-19 15:44:20 -05:00
Jicheng Lu 82b831d406 add session reconnect 2025-05-19 14:54:40 -05:00
Jicheng Lu d91a55232b refine tool call and response 2025-05-16 10:49:09 -05:00
Jicheng Lu a4d4f28bc0 resolve conflict 2025-05-15 23:21:01 -05:00
Jicheng Lu 0c2ba423d8 refine 2025-05-15 22:59:57 -05:00
nick.yi 37f860d897 optimize hook 2025-05-16 09:19:55 +08:00
Jicheng Lu 37bef7b8c6 Merge branch 'master' of https://github.com/SciSharp/BotSharp into test/google-realtime 2025-05-15 15:47:06 -05:00
Jicheng Lu b64f22ef8e temp save 2025-05-15 15:46:42 -05:00
nick.yi 9cdf9179c0 optimize hook 2025-05-15 15:25:08 +08:00
Jicheng Lu 4c4dce852d minor change 2025-05-14 23:54:18 -05:00
Jicheng Lu bc40deed54 tool call done; to do session restart 2025-05-14 23:49:36 -05:00
aden.chen a2ddbf913c Add hook execution options to Twilio controllers 2025-05-15 10:09:31 +08:00
aden.chen 91cd150862 Revert "Add null-check for agent in StreamingLogHook"
This reverts commit 3dda7afc7c.
2025-05-15 10:00:28 +08:00
aden.chen 1de8953404 Enhance Twilio hook execution with conditional logic 2025-05-15 09:57:16 +08:00
Jicheng Lu 04eafedb78 refine transcription 2025-05-14 18:14:01 -05:00
Jicheng Lu d9fe6da099 temp save 2025-05-13 17:33:23 -05:00
Jicheng Lu da9c3c6ab0 temp save 2025-05-13 15:43:08 -05:00
Jicheng Lu c837dd6611 temp save 2025-05-13 11:45:19 -05:00
Jicheng Lu 710a1e19c2 integrate 2025-05-12 15:26:05 -05:00
aden.chen 3dda7afc7c Add null-check for agent in StreamingLogHook 2025-05-12 10:37:25 +08:00
Haiping 872b57fa80
Merge pull request #1050 from iceljc/features/refine-global-stats
refine global stats
2025-05-08 14:03:33 -05:00
Jicheng Lu 4865e31ce2 minor change 2025-05-08 11:34:58 -05:00
Jicheng Lu 0a8519559e refine global stats schema 2025-05-08 11:30:40 -05:00
Jicheng Lu 6141643401 refine global stats 2025-05-08 00:19:19 -05:00
Jicheng Lu 5c5c643856 resolve conflict 2025-05-07 16:38:55 -05:00
Jicheng Lu e35fbc7439 refine 2025-05-07 16:34:39 -05:00
Haiping Chen 36a387eb3e Avoid duplicated utility templates. 2025-05-07 14:31:53 -05:00
Haiping Chen a4d07d5609 Merge branch 'master' of https://github.com/hchen2020/BotSharp 2025-05-06 22:40:56 -05:00
Haiping Chen ee3cc0afe1 Twilio.GetHints 2025-05-06 22:40:45 -05:00
nick.yi 46ad042d32 fix conflict 2025-05-07 09:54:24 +08:00
Haiping Chen cf4ea9cc64 resolve conflict. 2025-05-06 20:39:52 -05:00
Jicheng Lu 9debbf77a7 fix async 2025-05-05 17:39:23 -05:00
Haiping Chen 3960381b7f Merge branch 'master' into routing-function-refactor-1 2025-05-05 09:12:14 -05:00
Jicheng Lu 1762675cb0 revert 2025-05-04 23:20:52 -05:00
Haiping Chen 5ff7079470 Optimize InstructLoop 2025-05-02 20:02:37 -05:00
Jicheng Lu d703477b4b refine error and warn logging 2025-05-02 11:31:28 -05:00
Jicheng Lu a26f918161 refine websocket session 2025-05-01 12:47:30 -05:00
Jicheng Lu bd4f3751d3 clean code 2025-05-01 09:39:37 -05:00
Jicheng Lu 8b46e26ffb handle null 2025-04-30 17:26:13 -05:00
Jicheng Lu c1004df986 Merge branch 'master' of https://github.com/SciSharp/BotSharp into test/realtime-chat 2025-04-30 15:00:08 -05:00
Haiping 83bb00051e
Merge pull request #1043 from adenchen123/master
Revert "Track phone call success state in application"
2025-04-30 12:41:09 -05:00
Jicheng Lu 5fe29f60b1 add vector collection details 2025-04-30 11:55:25 -05:00
aden.chen 221d175e1a Revert "Track phone call success state in application"
This reverts commit 72752061ed.
2025-04-30 20:36:58 +08:00
易磊 434cd44350
Merge pull request #1041 from adenchen123/master
Track phone call success state in application
2025-04-30 16:37:56 +08:00
aden.chen aaa72a23db remove unused namepace 2025-04-30 15:59:31 +08:00
aden.chen 72752061ed Track phone call success state in application 2025-04-30 15:57:53 +08:00
Haiping Chen 2d42673d68 Adding inbound call recording. 2025-04-29 11:53:40 -05:00
nick.yi d5148cb811 optimize HooKEmitter 2025-04-29 14:08:08 +08:00
nick.yi 34658d4468 GetConversations() add channelId query condition 2025-04-29 13:35:48 +08:00
nick.yi fd2b5d1b01 optimize ITwilioCallStatusHook 2025-04-29 11:28:56 +08:00
Jicheng Lu 9febf00795 exclude conclude log when init 2025-04-28 17:23:25 -05:00
Jicheng Lu 97f6dd7a44 refine chat session 2025-04-28 16:02:10 -05:00
Jicheng Lu d05fa40bb7 add agent links 2025-04-28 14:53:32 -05:00
Haiping Chen 6fa6aa180d Deprecate routing handler. 2025-04-26 13:05:15 -05:00
Jicheng Lu 4d9ce27345 change media event data format 2025-04-25 14:13:14 -05:00
Jicheng Lu 2e45a66edc set agent id 2025-04-25 13:58:56 -05:00
Jicheng Lu 8de7e699a7 resolve conflict 2025-04-25 13:48:42 -05:00
Jicheng Lu 44357bf1bb revert 2025-04-25 13:47:00 -05:00
Jicheng Lu 01175d1ebf minor refine 2025-04-25 09:58:04 -05:00
Jicheng Lu de12724371 temp save 2025-04-24 17:52:58 -05:00
Haiping Chen f4e8e6010a optimize 2025-04-24 14:36:10 -05:00
Haiping Chen 0159c35661 Flag realtime feature in Labels. 2025-04-24 11:58:44 -05:00
Jicheng Lu 7959fbf9b5 init 2025-04-23 18:07:54 -05:00
Haiping Chen 99d3104674 Support reconnect in Twilio 2025-04-23 15:39:42 -05:00
Haiping Chen 701a8f191b GenerateEndingAudio 2025-04-22 17:00:14 -05:00
aden.chen 9d7d1288df Add Triggers property to SqlDriverCrontabHook class 2025-04-22 11:05:18 +08:00
Jicheng Lu 3ab3edd52a Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/refactor-llm-cost 2025-04-21 11:19:59 -05:00
Jicheng Lu fd89a995d1 refactor llm cost 2025-04-21 11:19:56 -05:00
Haiping dbf2aabf6e
Merge pull request #1023 from hchen2020/master
Allow settings to disable audio generation.
2025-04-21 09:27:26 -05:00
Haiping 49d615a6a7
Merge pull request #1022 from yileicn/master
optimize naming, ConfigureAwait
2025-04-21 09:27:17 -05:00
Haiping Chen 0af3a8c01d Allow settings to disable audio generation. 2025-04-21 09:25:13 -05:00
nick.yi 1fc3e1b9d0 optimize naming, ConfigureAwait 2025-04-21 20:05:36 +08:00
Haiping Chen 77eeeab234 Twilio SpeechModel 2025-04-20 22:49:53 -05:00
Haiping Chen 948b0bb337 Add agent routing mode 2025-04-20 21:18:56 -05:00
Haiping dedf30a870
Merge pull request #1019 from hchen2020/master
Optimize realtime route_to_agent
2025-04-20 18:31:45 -05:00
Haiping 69a5813eb7
Merge pull request #1016 from visagang/features/vguruparan
Add webdriver hook to support file uploads
2025-04-20 18:25:54 -05:00
Haiping Chen a791600c40 Allow hook to intercept function. 2025-04-20 18:24:13 -05:00
Haiping Chen 3deb6deee5 Optimize realtime route_to_agent 2025-04-20 08:05:20 -05:00
Haiping Chen 8131f7f47b Remove unnecessary agent load 2025-04-18 20:44:42 -05:00
vguruparan 74d38a5132 add error handler for actiononelement util 2025-04-18 17:03:24 -05:00
Haiping Chen 7b5c889068 ResponseDoneStatusDetail 2025-04-18 16:34:46 -05:00
vguruparan dc0c2ca8ad clean code 2025-04-18 16:25:13 -05:00
vguruparan 16e0553eb0 Add webdriver hook to support file uploads 2025-04-18 16:12:30 -05:00
Jicheng Lu d53b028b25 return array pool 2025-04-17 17:03:25 -05:00
Jicheng Lu db99c2dd33 fix init states 2025-04-17 16:07:59 -05:00
Haiping 1e912aecb4
Continue conversation after outbound phone call 2025-04-17 06:30:35 -05:00
Jicheng Lu e48a55ba6f rename 2025-04-14 11:15:14 -05:00
Jicheng Lu d76fef38d0 add hook 2025-04-14 10:45:28 -05:00
Jicheng Lu ccf4b3dd0a sync 2025-04-14 10:15:20 -05:00
Jicheng Lu 84ae837173 clean code 2025-04-14 10:13:05 -05:00
Jicheng Lu 7cbce42119 temp save 2025-04-14 01:25:16 -05:00
Gunpal Jain a2721f1980 fix: Google realtime communication 2025-04-14 10:54:05 +05:30
Jicheng Lu 472bf46a2f minor change 2025-04-11 16:46:18 -05:00
Jicheng Lu 6122aa88fe Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/debug-local-realtime 2025-04-11 16:29:55 -05:00
Jicheng Lu f413daeb04 fix 2025-04-11 16:29:44 -05:00
Haiping Chen a79b94b1ff function log 2025-04-11 15:09:39 -05:00
Haiping 866cbd2e22
Update TwilioInboundController.cs 2025-04-10 15:24:18 -05:00
Haiping 8234618b78
Merge pull request #1004 from hchen2020/master
Fix conversation states before loading agent for init-outbound-call
2025-04-10 13:40:29 -05:00
Haiping e50ce3bf34
Merge pull request #1002 from MackinnonBuck/mbuck/update-meai-version
Update Microsoft.Extensions.AI version to 9.4.0-preview.1.25207.5
2025-04-10 13:40:11 -05:00
Haiping Chen aba857c925 Fix conversation states before loading agent for init-outbound-call 2025-04-10 13:38:46 -05:00
Mackinnon Buck de3f0d7293 Update Microsoft.Extensions.AI version 2025-04-08 15:11:31 -07:00
Haiping Chen c4f4dc556a InputAudioTranscribe 2025-04-08 17:00:35 -05:00
Haiping d0d75447c0
Update RealTimeCompletionProvider.cs 2025-04-08 09:32:35 -05:00
Haiping Chen cbb4776532 Remove SetCompleter, load from settings. 2025-04-07 20:16:47 -05:00
Haiping Chen b52fcb2da2 Add InterruptResponse in RealtimeModelSettings 2025-04-07 14:14:55 -05:00
Haiping Chen d5f14de51c realtimehub-refactor 2025-04-06 23:15:27 -05:00
Haiping Chen 019be0113d Remove CreateSession API 2025-04-05 15:59:30 -05:00
Haiping Chen c0b982f6cc Remove source reference. 2025-04-05 15:27:30 -05:00
Haiping Chen 10de76df2d Clean code for OpenAI Live 2025-04-05 15:23:02 -05:00
Haiping Chen 6e482e966b Clean code for GeminiLive 2025-04-05 15:22:06 -05:00
Haiping 18c6598af3
Merge pull request #993 from gunpal5/master
feat: Added Google Multimodal Live APIs
2025-04-05 10:24:42 -05:00
Haiping 9beea89387
Merge pull request #996 from visagang/features/vguruparan
add read content to locate element utility
2025-04-04 16:07:14 -05:00
Visagan Guruparan fc1af807c3 add read content to locate element utility 2025-04-04 16:00:00 -05:00
Haiping Chen 5ebf9f7e44 Model response timeout 2025-04-04 14:00:32 -05:00
Haiping Chen 871aeff181 user_dtmf_receiving 2025-04-04 14:00:15 -05:00
Gunpal Jain 3859383f71 fixed session initialization 2025-04-04 07:50:45 +05:30
Gunpal Jain 6a03b67e1c some code refactoring 2025-04-04 07:02:28 +05:30
Gunpal Jain f46737e118 Update nullability, clean up formatting, and improve naming 2025-04-04 06:48:14 +05:30
Gunpal Jain 98d706415c some code changes suggested by auto review 2025-04-04 04:43:58 +05:30
Gunpal Jain d846453090 Merge remote-tracking branch 'origin/master' 2025-04-04 04:33:07 +05:30
Gunpal Jain 8039f7e702 feat: Added Google Live APIs
added Unit Test cases for LLM
2025-04-04 04:32:34 +05:30
Haiping Chen eeae8d348d Add route_to_agent log 2025-04-03 14:32:04 -05:00
Haiping Chen 6f938f6366 fix compile issue. 2025-04-02 21:53:20 -05:00
Haiping Chen 8fcfd489a1 computer use draft 2025-04-02 21:44:39 -05:00
iceljc 1100ef40f8
Merge pull request #990 from iceljc/master
fix gemini function call
2025-04-02 21:01:45 -05:00
Jicheng Lu 3d6607622e minor change 2025-04-02 20:51:34 -05:00
Jicheng Lu 5a166e7e21 fix gemini function call 2025-04-02 20:47:32 -05:00
Haiping Chen cc362b20d1 Fix conversation id in HangupPhoneCallFn 2025-04-02 18:25:04 -05:00
Haiping Chen 06491b1a28 Fix output endpoint. 2025-04-02 16:25:37 -05:00
Haiping Chen 8cbd82a0ff optimize twilio 2025-04-02 10:35:03 -05:00
Haiping ec636d987a
Merge pull request #983 from visagang/features/vguruparan
add wait time for webdriver
2025-04-01 21:04:17 -05:00
Visagan Guruparan d866d63cae add wait time for webdriver 2025-04-01 21:00:49 -05:00
Haiping Chen 752ffb8c80 Revision call duration. 2025-04-01 14:37:34 -05:00
hchen2020 a8e436de5c
Merge branch 'SciSharp:master' into master 2025-04-01 14:31:57 -05:00
Haiping Chen c89ad76ddb OnCallBusyStatus 2025-04-01 14:30:44 -05:00
Haiping Chen 44f01f1158 Add phone state for OutboundPhoneCallFn 2025-04-01 12:43:00 -05:00
Wenbo Cao 2a322f694c add show_current_url = true 2025-04-01 12:29:39 -05:00
evan-cao-wb 0164cc5bb6
Merge branch 'SciSharp:master' into master 2025-04-01 11:00:26 -05:00
evan-cao-wb 994d6df06a
Merge branch 'SciSharp:master' into master 2025-04-01 10:34:23 -05:00
Wenbo Cao d2bba95f47 Revert all changes 2025-04-01 10:27:31 -05:00
Jicheng Lu c84410b823 fix file selection 2025-03-31 21:21:45 -05:00
Jicheng Lu adfb8f4fc4 fix startup and use camel case 2025-03-31 20:59:19 -05:00
Jicheng Lu acf1ed9cbc fix missing field 2025-03-31 17:02:14 -05:00
Jicheng Lu 74476030e1 refine mcp 2025-03-31 16:43:42 -05:00
Jicheng Lu 5eca6b484f refine instruction 2025-03-31 15:16:46 -05:00
Wenbo Cao f5bd6a9212 Merge branch 'master' of https://github.com/evan-cao-wb/BotSharp 2025-03-31 15:16:29 -05:00
Wenbo Cao 4c302b6af0 Add Page Url 2025-03-31 15:15:58 -05:00
evan-cao-wb 8b077b4afb
Merge branch 'SciSharp:master' into master 2025-03-30 13:47:26 -05:00
Visagan Guruparan 2a6463b132 Initial commit for NC-4754 2025-03-28 11:32:41 -05:00
evan-cao-wb 3506179eaf
Merge branch 'SciSharp:master' into master 2025-03-27 15:50:55 -05:00
Wenbo Cao cc4e757fe8 Add Extract Data function 2025-03-27 15:50:23 -05:00
Haiping f0bf0b443c
Merge pull request #968 from SciSharp/modelcontextprotocol
Modelcontextprotocol
2025-03-26 08:27:55 -05:00
Haiping Chen cafe4cd22e Add Twilio realtime transcribe. 2025-03-25 16:37:54 -05:00
hchen2020 367425edb9
Merge branch 'SciSharp:master' into master 2025-03-24 15:34:51 -05:00
vguruparan 9f0995b15b Update webdriver code 2025-03-24 15:33:46 -05:00
Jicheng Lu 07c02887f1 update function param desc 2025-03-24 15:18:37 -05:00
hchen2020 8fa951bde3
Merge branch 'SciSharp:master' into master 2025-03-24 13:59:06 -05:00
Haiping Chen 204dfac516 remove phone_number for voicemail 2025-03-24 13:56:32 -05:00
geffzhang 22b6ce5d0d
Merge branch 'master' into modelcontextprotocol 2025-03-24 09:21:26 +08:00
Gunpal Jain 439d4b451c feat(Gemini): Added Text Embedding Model
feat: implemented missing methods.
changed to Google_GenerativeAI SDK which supports Multimodal Live APIs.
2025-03-23 23:57:58 +05:30
geffzhang 1a1f56fdc6
Merge branch 'master' into mcp 2025-03-22 10:07:35 +08:00
geffzhang 994da497a4
Merge branch 'SciSharp:master' into master 2025-03-22 10:03:16 +08:00
geffzhang 129331d488 feat: remove ModelContextProtocol source ref
use ModelContextProtocol nuget package replace source ref
2025-03-22 09:59:42 +08:00
Haiping Chen 2d710d4f50 Merge branch 'master' of https://github.com/hchen2020/BotSharp 2025-03-21 19:29:38 -05:00
Haiping Chen 21aab66826 IAudioSynthesis 2025-03-21 19:28:22 -05:00
Jicheng Lu bdc1529686 minor change 2025-03-21 17:34:00 -05:00
Jicheng Lu ba12125a1e add additional llm cost 2025-03-21 17:32:29 -05:00
iceljc 08a8c872e0
Merge pull request #943 from iceljc/features/call-dummy-func
call dummy func
2025-03-21 16:44:44 -05:00
Visagan Guruparan 93ae5327cf Update webdriver settings to support defaultnavigationtimeout 2025-03-21 15:33:52 -05:00
Visagan Guruparan 499632d7e8 Merge branch 'master' of github.com:visagang/BotSharp into features/vguruparan 2025-03-21 15:33:23 -05:00
Visagan Guruparan f0db503ff0 Update default timeout for web driver 2025-03-21 15:23:37 -05:00
iceljc b21ea75764
Merge pull request #958 from GreenShadeZhang/dev_fix_agent_labels
Fixed agent label bug
2025-03-21 15:04:15 -05:00