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
Haiping Chen
77228e77b0
Use router settings for model.
2023-11-03 09:18:48 -05:00
hchen
73331bbb1d
Add states to chat message result
2023-11-03 09:16:16 -05:00
hchen
ed5049ccb2
Fix RichContent pass alway bug.
2023-11-01 16:30:39 -05:00
hchen
8ed35691f9
Clean code.
2023-10-31 20:48:12 -05:00
Haiping Chen
efeaaedf59
Change agent load timing in InstructService.
2023-10-30 22:47:14 -05:00
Haiping Chen
a18d1ea5aa
RoleDialogModel.From
2023-10-30 15:06:45 -05:00
Haiping Chen
5d78e83e7c
Fix InvokeFunction dialog message.
2023-10-30 14:27:12 -05:00
Haiping Chen
df7743e37d
Separate required and optional args.
2023-10-30 12:44:53 -05:00
Haiping Chen
3caa7a5499
HFPlanner
2023-10-30 11:48:18 -05:00
Haiping Chen
8bf61cb94c
Merge branch 'master' into v0.18-llm-planning
2023-10-28 21:20:30 -05:00
Yanan Wang
0ca92c0328
Fix the bugs due to the MessageingType typo correct
2023-10-28 21:15:41 -05:00
Yanan Wang
bca0403fe9
Default messaging_type in RichContent as "RESPONSE"
2023-10-28 21:03:28 -05:00
Yanan Wang
801fda473f
Fixed issues related to comments.
2023-10-28 20:56:21 -05:00
Haiping Chen
c7ff0e4c2e
Rename to ReasoningPlanner.
2023-10-28 20:54:10 -05:00
Haiping Chen
513ad5814e
NaivePlanner
2023-10-28 15:59:26 -05:00
Yanan Wang
89c62bf496
Default RichContent
2023-10-27 17:55:28 -05:00
Yanan Wang
e43b3e6fa1
Add RichContent field and PostBackUrl for QuickReplies
2023-10-27 17:16:53 -05:00
Yanan Wang
eb4e0b0187
Merge from master into add_richCoontent Branch
2023-10-27 16:21:52 -05:00
Yanan Wang
35cbc90e60
Add JsonPropertyName
2023-10-27 15:54:16 -05:00
Yanan Wang
f709bb1795
Add SenderActionModel
2023-10-27 15:38:37 -05:00
Haiping Chen
58051e2db0
Merge branch 'master' of https://github.com/SciSharp/BotSharp
2023-10-27 15:36:34 -05:00
Haiping Chen
933fc3febd
Share one message instance through the conversation.
2023-10-27 15:36:26 -05:00
Yanan Wang
d26d8308d5
Allow MessageingType Nullable
2023-10-27 15:25:16 -05:00
Yanan Wang
8f7b4c7925
Correct TemplateMessage Model
2023-10-27 15:13:58 -05:00
Yanan Wang
46710c14cc
Add richContent for future UI rendering
2023-10-27 14:05:18 -05:00
hchen2020
0cbb0183cf
Merge branch 'SciSharp:master' into master
2023-10-27 10:36:46 -05:00
Haiping Chen
492a1d70ee
ITrackableMessage
2023-10-27 10:18:48 -05:00
Haiping Chen
cee91acaaa
Fix OriginAgentId
2023-10-26 20:23:06 -05:00
Haiping Chen
7ab383aa53
Update router prompt.
2023-10-26 19:33:34 -05:00
hchen
2cd3dfcd29
JsonContent<T>
2023-10-26 13:52:44 -05:00
Haiping Chen
012158470f
PerInstanceCache = true
2023-10-26 09:18:14 -05:00
Haiping Chen
2a52e30ba8
change description of human_intervention_needed.
2023-10-25 22:05:12 -05:00
hchen2020
7482339e02
Merge branch 'SciSharp:master' into master
2023-10-25 19:31:00 -05:00
Haiping Chen
d7ef99d034
Render assistant role as specific agent name.
2023-10-25 19:30:23 -05:00
hchen2020
bab74e5993
Merge branch 'SciSharp:master' into master
2023-10-25 19:27:40 -05:00
Jicheng Lu
4041ca8de7
remove code
2023-10-25 16:40:36 -05:00
Jicheng Lu
8cca7361b2
refine agent update functions
2023-10-25 15:56:50 -05:00
Jicheng Lu
2e3fbc98a9
remove test code
2023-10-25 15:11:15 -05:00
Jicheng Lu
6f7f143e7d
add impact
2023-10-25 15:09:21 -05:00
hchen
26b738ef64
Populate states for ResponseTemplateService
2023-10-25 14:44:27 -05:00
Jicheng Lu
975b5720c7
add impact in agent functions
2023-10-25 13:02:50 -05:00
hchen
a36f3e4b6c
Allow empty SelfId
2023-10-25 10:55:12 -05:00
hchen
4c54a62557
Add SelfId in IInstructHook.
2023-10-25 10:48:25 -05:00
Haiping Chen
2bc2367536
Show text completion verbose log.
2023-10-25 07:48:11 -05:00
Haiping Chen
5d7dd09801
Allow IInstructService to StopCompletion.
2023-10-24 22:41:08 -05:00
hchen
eb13994180
Return states in InstructResult.
2023-10-24 19:36:02 -05:00
hchen
11176f3539
Add SelfId to IAgentHook.
2023-10-24 16:38:34 -05:00
Haiping
ea3bf3e711
Merge pull request #187 from hchen2020/master
...
Use text completion for instruct mode.
2023-10-23 18:22:40 -05:00
Haiping Chen
8c60e6ae78
Use text completion for instruct mode.
2023-10-23 18:20:18 -05:00
Jicheng Lu
9f6f0e2d92
add execution log
2023-10-23 15:33:24 -05:00
Haiping Chen
7fb9440011
Fix GetAgents list.
2023-10-23 12:41:44 -05:00
Haiping Chen
758cfd556e
Bump version to v0.17.0
2023-10-23 11:13:16 -05:00
Haiping Chen
8672214c39
Support states for instruct mode.
2023-10-22 19:37:33 -05:00
Haiping Chen
a4c1b56740
Add executor of evaluation.
2023-10-22 19:31:49 -05:00
Haiping Chen
13e17acc76
Fix CurrentRecursionDepth bug in Testing mode.
2023-10-20 18:57:45 -05:00
Haiping Chen
8fcada182f
Optimize router prompt.
2023-10-19 22:47:14 -05:00
Haiping
bdfcbd9a0a
Merge pull request #182 from iceljc/features/fix-mongo-serialization-add-samples
...
Features/fix mongo serialization add samples
2023-10-19 19:45:08 -05:00
Jicheng Lu
5d93a38bda
remove serializor setting
2023-10-19 17:28:51 -05:00
Jicheng Lu
60d9f47356
1. use string id in mongo collection.
...
2. add samples
3. refine repo api
2023-10-19 17:27:51 -05:00
hchen
5e65d833ea
Remove LoadAgent cache.
2023-10-19 15:57:56 -05:00
hchen
581678f1fe
human_intervention_needed prompt.
2023-10-19 13:28:29 -05:00
Jicheng Lu
c336571a8c
Merge branch 'master' into features/fix-mongo-serialization-add-samples
2023-10-19 13:17:21 -05:00
Jicheng Lu
931149fc9d
fix mongo serilaization
2023-10-19 13:15:49 -05:00
hchen
bf9bb2b6d3
Allow agent to use few-shot learning.
2023-10-19 12:24:00 -05:00
hchen
f58decde0d
Fix typo.
2023-10-18 11:59:10 -05:00
Haiping
09ea77b73a
Merge pull request #176 from xbotter/patch-file-repository
...
Refactor FileRepository to handle non-existent directories
2023-10-18 10:56:45 -05:00
hchen
5ced9f6da4
Refactor FixMalformedResponse.
2023-10-18 10:54:03 -05:00
Haiping Chen
2f3e71ef09
Add EvaluatingService.
2023-10-18 06:58:36 -05:00
xbotter
1d468e0d18
🔧 Update FileRepository to handle missing directories
...
- The FileRepository class in the BotSharp.Core.Repository namespace has been updated to handle cases where the "users" and agent directories are missing.
- Previously, the code would throw an exception if the directories were not found, but now it checks for their existence before attempting to read files from them.
- This change ensures that the repository can gracefully handle missing directories and continue execution without errors.
- The update includes changes to the GetUserAgents, GetAgents, and GetConversations methods, as well as the UpdateAgent, UpdateInstruction, and UpdateFunctions methods.
- Additionally, the code now properly checks for the existence of the "agents.json" file before attempting to read from it.
- These changes improve the robustness and reliability of the FileRepository class.
2023-10-18 12:58:56 +08:00
Jicheng Lu
336a98d22a
add bulk insert agents and user agents
2023-10-17 15:29:40 -05:00
hchen
8c43de14e9
Fix bug of next_step_prompt with args.
2023-10-17 10:49:07 -05:00
Jicheng Lu
1be6531409
use BotSharpMongoDb
2023-10-16 17:52:48 -05:00
Haiping Chen
2dd8b9a3ff
Bumb version to v0.16.2.
2023-10-16 16:56:32 -05:00
Haiping
346e081ad6
Merge pull request #172 from iceljc/features/refine-fetch-agent
...
refine agent data fetching
2023-10-16 16:39:38 -05:00
Jicheng Lu
541b8fde50
refine agent data fetching
2023-10-16 16:37:01 -05:00
Haiping
8531d8ab09
Add IContentGeneratingHook.
2023-10-16 15:07:07 -05:00
Jicheng Lu
57c5573b11
minor change in FunctionDefMongoElement
2023-10-15 23:21:40 -05:00
Jicheng Lu
0ea469b29f
relocate agent template in file repository
2023-10-15 23:12:17 -05:00
Haiping Chen
8ea6b0f814
Add ConversationEnding to IConversationHook
2023-10-15 19:08:24 -05:00
Haiping
1c0fe993ba
Move next step prompt to liquid template.
2023-10-13 18:36:57 -05:00
Haiping Chen
bf151a0d09
Bump to v0.16.1.
2023-10-13 15:15:27 -05:00
Haiping Chen
1a54f17440
Auto test.
2023-10-13 15:08:59 -05:00
hchen
985e0501de
Add user_goal_agent to track user's original task.
2023-10-12 16:42:39 -05:00