Commit graph

719 commits

Author SHA1 Message Date
geffzhang 5904794d64 feat: dockerfile 2024-01-27 23:35:27 +08:00
Haiping Chen 2445cb31e0 #268 2024-01-27 09:20:02 -06:00
Haiping Chen c42af085fb Fixed google search in WebDriver #268 2024-01-27 08:58:51 -06:00
geffzhang 9f71d8248e feat: upgrade semantic kernel 1.2.0 2024-01-27 20:24:57 +08:00
geffzhang 9a394345b9
Merge pull request #272 from SciSharp/master
merge last update
2024-01-27 16:27:19 +08:00
geffzhang d180d67602 feat: upgrade .NET 8 2024-01-27 15:57:56 +08: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
Jicheng Lu a768dc3701 add conv state log 2024-01-26 15:47:06 -06:00
Haiping Chen 247ca09c29 Update Web Driver. 2024-01-25 22:45:30 -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 264fe3c22a Optimize StreamingLog. 2024-01-24 17:47:57 -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
Visagan Guruparan 5fbf32daa8 Add attributes to user view model 2024-01-23 13:32:35 -06:00
Jicheng Lu 88743d151b change to get 2024-01-23 11:32:28 -06:00
Jicheng Lu 9b2b32e013 add agent pagination 2024-01-22 23:04:06 -06:00
Jicheng Lu 55c3c70893 add paged plugins 2024-01-22 17:26:48 -06:00
Haiping Chen e4a76024a6 Fix project reference. 2024-01-22 10:51:40 -06:00
Haiping Chen 54ccbf3754 Release v0.22. 2024-01-21 20:39:42 -06:00
Haiping Chen 3dad385180 LLM Load balance #252 2024-01-21 20:39:13 -06:00
Jicheng Lu b6049fd521 structure content log 2024-01-18 22:38:44 -06:00
Haiping Chen 2f197c4167 Fix ChatbotUi models. 2024-01-18 09:27:52 -06:00
Haiping Chen 6224a04b96 dotnet run --project .\src\WebStarter 2024-01-18 05:30:28 -06:00
Jicheng Lu 622effa2dd add conversation pagination 2024-01-17 23:23:20 -06:00
Haiping Chen f1278b3384 Stop completion when exception has occurred. 2024-01-17 12:28:15 -06:00
Haiping Chen 8748db4fde Complete plugin name and description. 2024-01-16 13:23:45 -06:00
Haiping Chen bcf56767be Support to change Host Agent and used model. 2024-01-16 11:38:45 -06:00
kiebor fef497b8c9 Updated OpenAPI definition to add JWT bearer and authentication. This allows for more complete code-gen and testing of the web api directly in swagger 2024-01-16 07:03:35 +00:00
Jicheng Lu d50ef81f3e add missing field 2024-01-15 21:26:18 -06:00
Jicheng Lu fa769227e0 refine filter 2024-01-15 19:51:56 -06:00
Haiping Chen 9d698fc79d Support rendering submenu. 2024-01-15 15:35:01 -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 45a0ae383f Provide Installed property to Agent. 2024-01-13 16:06:21 -06:00
Haiping Chen 40c800d1a4 Set defalut icon url as null. 2024-01-13 15:35:52 -06:00
Haiping Chen 3022cf50cb Support to set multiple routers. 2024-01-13 15:17:40 -06:00
Haiping 0bacd32ed5
Merge pull request #250 from iceljc/features/add-mongo-set-plugins
add  mongo plugin actions
2024-01-13 08:06:41 -06:00
Jicheng Lu 6c42e4c651 add mongo plugin actions 2024-01-12 20:13:38 -06:00
Haiping Chen adf5a3a017 Disable agent by default. 2024-01-12 19:10:12 -06:00
Haiping Chen 39a6d2ed05 Add AgentIds to IBotSharpPlugin 2024-01-12 18:31:25 -06:00
Haiping Chen dadb0b49e0 Add id to plugin. 2024-01-12 16:20:22 -06:00
Haiping Chen a42653375d Refactor menu for UI. 2024-01-12 02:52:50 -06:00
Haiping Chen b07117ea6f Relocate data file. 2024-01-11 08:03:25 -06:00
Haiping Chen 66d45acfc3 Support download full log. 2024-01-10 22:16:13 -06:00
Haiping Chen 46429501f5 Fix SPA refresh bug. 2024-01-10 18:57:30 -06:00
Haiping Chen 24319f5213 SPA test 2024-01-10 08:18:59 -06:00
Haiping Chen e7e092cadc Serilog 2024-01-08 18:40:52 -06:00
Haiping Chen e4569be9c6 Test Azure App Service. 2024-01-08 12:06:13 -06:00
Haiping Chen cdae1235da UnmatchedAgent 2024-01-06 16:24:22 -06:00
Haiping Chen 4299a67057 Extract data in WebDriver. 2024-01-05 21:24:13 -06:00
Haiping Chen ddebff69ec Add UserName 2024-01-04 21:20:50 -06:00
Haiping Chen 5dee99ba9b Fix click element in WebDriver. 2024-01-03 15:10:53 -06:00
Haiping Chen 6cad3aa5f5 Add Input User Text in WebPage. 2024-01-03 13:40:41 -06:00
Haiping Chen 006c08740b Remove xcopy. 2024-01-02 23:33:13 -06:00
Haiping Chen c6e7fbcf48 xcopy doesn't work in Linux. 2024-01-02 23:29:34 -06:00
Haiping Chen 7fcf92fe48 Add agent copy post-build event. 2024-01-02 23:07:41 -06:00
Haiping Chen 981c1d6133 WebDriver Playwright. 2024-01-02 22:43:37 -06:00
Jicheng Lu 9d47f41109 clean code 2024-01-02 13:02:07 -06:00
Jicheng Lu 538be13bee refine null 2024-01-02 11:50:07 -06:00
Jicheng Lu f5a9f37dd4 union conversation states 2024-01-02 11:40:08 -06:00
Jicheng Lu 2bde3d147d rename state file 2024-01-01 20:36:54 -06:00
Jicheng Lu 66578bf4f3 clean code 2024-01-01 14:03:23 -06:00
Jicheng Lu 9980ca3e1d clean code 2024-01-01 13:56:56 -06:00
Jicheng Lu a523cf5047 remove message id in state history
add isNeedVersion
2024-01-01 13:53:05 -06:00
Jicheng Lu a534a93d35 remove is const 2024-01-01 13:07:42 -06:00
Jicheng Lu 010c92db1a refine conversation states 2023-12-31 22:56:10 -06:00
Haiping Chen 150699f605 Release v0.21.0 2023-12-31 12:08:56 -06:00
Haiping Chen 627f7fa771 Add RouterController. 2023-12-29 21:54:41 -06:00
Jicheng Lu 0df8f14b9a structure dialog meta data 2023-12-28 12:27:09 -06:00
Haiping Chen 1286f35d8b Add AgentFilter. 2023-12-28 09:20:18 -06:00
Haiping Chen 27e0c4b307 Filter by conversation id. 2023-12-27 13:27:52 -06:00
Haiping Chen 56224d16c8 Remove IApiAdapter. 2023-12-27 09:53:54 -06:00
Haiping Chen b3311a1917 Utilities.ClearCache 2023-12-27 09:33:03 -06:00
Haiping Chen 4c6c035b07 Plugin IconUrl. 2023-12-25 21:16:41 -06:00
Haiping Chen 0a0f50d287 Separate UI project. 2023-12-24 13:57:22 -06:00
Haiping Chen 403e97bfd3 Delete conversation from UI. 2023-12-22 13:16:55 -06:00
Haiping Chen 7283259455 Agent builder UI. 2023-12-21 22:09:01 -06:00
Deep Blue 59217016db
Merge branch 'SciSharp:master' into master 2023-12-20 20:22:55 -06:00
Deep Blue 0079e22d08 Merge branch 'master' of https://github.com/Deep-Blue-2013/BotSharp 2023-12-20 20:22:11 -06:00
Deep Blue a0d271130f Add Web Speech. 2023-12-20 20:22:04 -06:00
Jicheng Lu c479045cf0 Merge branch 'master' into bugfix/refine-llm-prompt-log 2023-12-20 14:16:35 -06:00
Jicheng Lu d79fbaabd2 refine completion log 2023-12-20 14:12:40 -06:00
Haiping Chen bd26c81018 Move AddAuthentication out. 2023-12-20 08:12:59 -06:00
Jicheng Lu 94f81cb173 refine llm prompt log 2023-12-19 22:20:08 -06:00
Deep Blue fe197fd3ea quick reply submit. 2023-12-19 20:28:56 -06:00
Deep Blue fc6e1807ad
Merge branch 'SciSharp:master' into master 2023-12-19 07:18:06 -06:00
Deep Blue 6b0a5be1af Render quick replies in chat-box. 2023-12-19 07:16:43 -06:00
Jicheng Lu 694a3c210f fix file llm prompt log 2023-12-18 21:23:09 -06:00
Haiping Chen 759e116967 Upgrade sveltejs/kit to v2.0. 2023-12-18 16:38:32 -06:00
Haiping Chen 8cc1094469 Add RichType to IRichMessage 2023-12-18 16:38:12 -06:00
Haiping Chen d7bba4522a Upgrade dependent libraries. 2023-12-18 14:14:14 -06:00
hchen 1c03789a38 Fix config priority. 2023-12-15 11:54:44 -06:00
Haiping a7d346c1e9
CompletionProvider.GetCompletion 2023-12-15 10:31:11 -06:00
Haiping 4cd5b7e9a1
JsonArrayContent 2023-12-14 15:15:07 -06:00
Haiping Chen 89af1d72a6 Set default LlmConfig for Agent level. 2023-12-13 17:16:34 -06:00
Jicheng Lu d6e741957e minor change 2023-12-13 14:41:47 -06:00
Jicheng Lu 258be22d36 remove code 2023-12-13 14:33:36 -06:00
Jicheng Lu e7d962edf8 resolve conflict 2023-12-13 14:33:27 -06:00
Jicheng Lu 92ff9e6f3c add agent llm config 2023-12-13 14:26:46 -06:00
Haiping Chen 1b26ab4162 Merge branch 'llm-provider-settings' of https://github.com/SciSharp/BotSharp into llm-provider-settings 2023-12-13 12:22:23 -06:00
Haiping Chen 538753571a Unify the LLM Provider Settings #234 2023-12-13 12:12:25 -06:00
Jicheng Lu b8c55ac1c3 rename mongo collection and use exe log flag 2023-12-13 11:58:25 -06:00
Haiping ab913b0b8e
Fix compile issue 2023-12-12 12:37:49 -06:00
Haiping e911b05417
/instruct/chat-completion 2023-12-12 12:32:04 -06:00
Haiping ddf617fc30
Send message always in assistant role 2023-12-12 09:06:39 -06:00
Haiping Chen 61c1f9623b Fix StopCompletion issue for hook.OnMessageReceived. 2023-12-12 08:16:34 -06:00
Haiping Chen 69b209c8d3 Fixed bug when agent is null. 2023-12-11 18:40:20 -06:00
Haiping Chen 6e88cc6f2c Set FunctionName of InvokeFunction. 2023-12-11 17:15:37 -06:00
Haiping Chen 27037b0663 Update chat-box UI. 2023-12-11 17:15:08 -06:00
Haiping Chen 4dc1afa9a3 Add close button to live chat box. 2023-12-08 15:27:34 -06:00
Haiping Chen 2e136f67c1 Remove state auto set. 2023-12-07 21:31:34 -06:00
Haiping 732e3925fb
Merge pull request #232 from iceljc/features/add-routing-invoke-function
add invoke function in routing service
2023-12-06 21:15:12 -06:00
Jicheng Lu fabbd8bcef add invoke function in routing service 2023-12-06 21:06:09 -06:00
Haiping Chen 8e940e991d GetAccessToken for Twilio 2023-12-06 16:55:55 -06:00
dependabot[bot] 4b27edd02f
Bump vite from 4.5.0 to 4.5.1 in /src/web-live-chat
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.1/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-06 00:22:26 +00:00
Haiping Chen ed96ff0fb9 Fix load agent error for InstructMode 2023-12-04 18:12:57 -06:00
Haiping Chen 78d66eb9c5 Pagination 2023-12-04 17:42:46 -06:00
Haiping ed0c4eeaf5
Merge pull request #230 from hchen2020/master
sequential log.
2023-12-01 11:33:29 -06:00
hchen2020 c6f64a605a
Merge branch 'SciSharp:master' into master 2023-12-01 11:32:20 -06:00
hchen 6197ac5ab3 sequential log. 2023-12-01 11:31:45 -06:00
Jicheng Lu e1c32a5510 fix typo and delete logs 2023-12-01 10:36:34 -06:00
Haiping Chen 9d4487836c Add Temperature 2023-11-30 21:59:05 -06:00
Haiping Chen 9cc9839796 Merge branch 'master' into v0.20-json-schema 2023-11-30 20:19:00 -06:00
Jicheng Lu 2fff823b47 minor change 2023-11-30 15:10:08 -06:00
Jicheng Lu 9c1a571237 refine logger 2023-11-30 15:03:44 -06:00
Haiping Chen 56f99c2924 update function prompt. 2023-11-30 08:17:01 -06:00
Haiping Chen 52bfe435f5 Resolve conflict. 2023-11-29 21:01:08 -06:00
Haiping Chen 8d2761a0c4 experiment failed. 2023-11-29 20:56:23 -06:00
Jicheng Lu bdb837272e Merge remote-tracking branch 'upstream/master' into feature/add-log-setting 2023-11-29 17:24:37 -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
Deep Blue e71fdc7e65 Update UI dialogs by conversation. 2023-11-29 09:43:06 -06:00
Haiping Chen 5bd15f7a6b Merge branch 'master' of https://github.com/SciSharp/BotSharp 2023-11-27 21:19:10 -06:00
Haiping Chen fcc8ba6a3d Websocket authentication. 2023-11-27 21:19:07 -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
Haiping bc5818fc24
Merge pull request #221 from iceljc/features/add-conversation-agent-filter
add filters for conversation and agent
2023-11-27 16:26:31 -06:00
Haiping Chen 8c1b0bc1e0 Remove RichMessageBase which cause Messenger doesn't work. 2023-11-27 16:23:41 -06:00
Jicheng Lu 801b49181f add filters for conversation and agent 2023-11-27 16:20:49 -06:00
Deep Blue cf08261afb RichMessageBase and Welcome message. 2023-11-27 15:00:26 -06:00
Haiping b7d9469cf1
Merge pull request #219 from iceljc/features/add-conversation-filter
Features/add conversation filter
2023-11-27 10:12:48 -06:00
Jicheng Lu bd4ec132d5 revert change 2023-11-26 21:44:17 -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
Haiping Chen 87d2c7f0bd Add web live chat docs. 2023-11-26 20:04:05 -06:00
Haiping Chen d2cb9a5ebd Add live chat UI. 2023-11-26 19:14:43 -06:00
Haiping Chen 2dc6376a89 Fix rich content bug. 2023-11-26 11:53:44 -06:00
Jicheng Lu ddd460e6b5 add delete conversation 2023-11-26 00:29:06 -06:00
Haiping Chen a1bc56b481 Add more template rich message. 2023-11-24 17:26:33 -06:00
Haiping Chen be88bfa121 ChatHub 2023-11-22 10:27:55 -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
Haiping Chen 2a0c54a915 Use current agent id as template search dir. 2023-11-21 20:27:43 -06:00
Jicheng Lu 37f506687d parse conv dialog 2023-11-21 18:16:45 -06:00
Haiping Chen 8aaa3c6b50 Set states when creating conversation. 2023-11-20 11:08:05 -06:00
Haiping Chen 0b0935300a default init States in Conversation 2023-11-20 10:54:01 -06:00
Haiping Chen ab70a4d447 Allow override model for ExecutingDirectly. 2023-11-20 09:51:57 -06:00
Haiping 4c1af4c710
Merge pull request #213 from xbotter/sk/memory
Refactor the injection method of the SemanticKernel component.
2023-11-20 09:23:12 -06:00
xbotter eccef74d47
refactor SemanticKernelTextEmbeddingProvider 2023-11-20 21:44:49 +08:00
xbotter fe3e324fb8
refactor semantic kernel Plugin 2023-11-20 21:20:10 +08:00
xbotter eb1b77904b
save stage 2023-11-19 21:34:13 +08:00
Haiping Chen 553fe3e4c7 Add function result to history. 2023-11-17 17:36:15 -06:00
hchen 0bf2fe58fc Fix ExecuteOnce fetch dialogs. 2023-11-16 12:20:43 -06:00
xbotter 114fa98616
🔧 Update ITextEmbedding interface and its implementations
- Update ITextEmbedding interface to use async methods for getting vectors
- Update KnowledgeService to use async methods for getting vectors
- Update TextEmbeddingProvider and fastTextEmbeddingProvider to use async methods for getting vectors
- Update IntentClassifier to use async methods for getting vectors
- Update SemanticKernelTextEmbeddingProvider to use async methods for getting vectors
2023-11-16 21:37:53 +08:00
xbotter f7ab61d544
Add TextEmbeddingProvider and MemoryStoreProvider 2023-11-16 21:12:33 +08:00
Jicheng Lu 1527cb1065 add update conversation status 2023-11-15 12:35:24 -06:00
Jicheng Lu 0e6fd94526 sync conversation status 2023-11-15 10:44:10 -06:00
Haiping 4f5d8fc0a1
Merge pull request #205 from seplz/feature/CloseIdleConversations
add ConversationTimeoutService
2023-11-15 07:36:08 -06:00
Haiping Chen 3eb2e7664e Add Conversation status. 2023-11-15 07:33:46 -06:00
hchen e44423570d Update next action agent's name 2023-11-14 14:56:51 -06:00
Haiping Chen 89b5cacbe9 Add SenderId to RoleDialogModel 2023-11-14 08:13:54 -06:00
Jicheng Lu 7968fc20a5 add user role and editable 2023-11-13 23:37:04 -06:00
Haiping Chen 5ca1203ff5 Add Sender in ChatResponse. 2023-11-13 22:56:06 -06:00
Haiping Chen 7824622385 Add role to User. 2023-11-13 19:25:46 -06:00
Haiping Chen f3a17f1b34 GetUserById 2023-11-13 19:25:25 -06:00
Haiping Chen 57870ae63b Bump Azure.AI.OpenAI to 1.0.0-beta.9 2023-11-13 11:19:25 -06:00
Haiping Chen 8378af8009 Merge branch 'master' of https://github.com/SciSharp/BotSharp 2023-11-13 10:47:29 -06:00
Haiping Chen c21255979b Remove ChatHub. 2023-11-13 10:47:27 -06:00
xbotter dce814697d
add xml doc 2023-11-13 23:12:24 +08:00
xbotter 0dbecdf209
update SK Provider and UnitTest 2023-11-13 23:11:49 +08:00
xbotter 83e3c38999
Merge branch 'master' into sk/text-completion 2023-11-13 22:30:30 +08:00
xbotter 19df4da111
format code and add unit tests 2023-11-12 22:04:00 +08:00
xbotter cd793e228d
create semantic kernel plugin 2023-11-12 17:12:34 +08:00
Haiping Chen 6a2343c757 SignalR 2023-11-11 23:16:52 -06:00
SeplzZZ a0d8abeede relocate the service 2023-11-10 21:50:11 -06:00
SeplzZZ e467a7bd01 add ConversationTimeoutService 2023-11-10 10:01:03 -06:00
hchen b55abdf4dc IConversationAttachmentService 2023-11-09 15:11:36 -06:00
hchen 74259ee6bc Add Twilio plugin. 2023-11-09 14:02:57 -06:00
hchen ad606e6710 Fix rich content text in InstructExecutor. 2023-11-08 16:47:23 -06:00
hchen 3483fd42a1 Adjust rich content data structure. 2023-11-08 16:27:42 -06:00
Yanan Wang 9a16536359 Add MultiSelectTemplate 2023-11-07 16:22:49 -06:00
Haiping Chen 1d703591a5 Set default channel value for webchat. 2023-11-05 19:54:54 -06:00
Haiping Chen 5d49b1b0e2 Fix CurrentAgentId. 2023-11-03 16:32:27 -05:00
Haiping Chen 9c488358e4 Fix current agent id. 2023-11-03 15:45:58 -05:00
Haiping Chen da4d5e548a Change output field name. 2023-11-03 10:46:29 -05:00
Haiping Chen febd731f57 Merge branch 'master' of https://github.com/SciSharp/BotSharp 2023-11-03 09:19:18 -05:00