Commit graph

461 commits

Author SHA1 Message Date
Jicheng Lu 2bde3d147d rename state file 2024-01-01 20:36:54 -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
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 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 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 6e88cc6f2c Set FunctionName of InvokeFunction. 2023-12-11 17:15:37 -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
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
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
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 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
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 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
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
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
Jicheng Lu 1527cb1065 add update conversation status 2023-11-15 12:35:24 -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 c21255979b Remove ChatHub. 2023-11-13 10:47:27 -06: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 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