Haiping Chen
551c2f8ed4
check field type in routing.
2024-04-03 09:47:32 -05:00
C. Oceania
3b248c3d6b
Merge pull request #387 from iceljc/features/refine-conv-states
...
Features/refine conv states
2024-04-02 22:21:41 -05:00
Haiping Chen
fcb761976b
Handle output routing exception.
2024-04-02 17:27:36 -05:00
Jicheng Lu
40bafdc327
add readonly
2024-04-02 15:39:14 -05:00
Jicheng Lu
da42be0477
minor change
2024-04-02 14:24:04 -05:00
Jicheng Lu
8168b22707
refine element button
2024-04-02 14:09:42 -05:00
Jicheng Lu
7ae9e3ef60
refine states
2024-04-02 11:38:18 -05:00
C. Oceania
6f93347b08
Merge pull request #385 from iceljc/features/refine-json-converter
...
refine json converter
2024-04-02 06:02:14 -05:00
Jicheng Lu
1f80192bf3
refine json converter
2024-04-01 22:33:42 -05:00
Haiping Chen
601b64b50a
Prevent duplicate record to be inserted
2024-04-01 21:10:21 -05:00
Jicheng Lu
a649b658e4
add agent queue changed event
2024-03-31 23:55:13 -05:00
Haiping Chen
f1999f32e7
GetProviders only when the setting has value.
2024-03-31 16:54:22 -05:00
Haiping Chen
f5eaa716ea
Add featuer of VisibilityExpression
2024-03-31 14:28:16 -05:00
Haiping Chen
15291fa6f0
Fix OnRoutingInstructionRevised
2024-03-31 11:12:20 -05:00
C. Oceania
a245d71ca7
Merge pull request #381 from iceljc/features/refine-state-change
...
add active round log
2024-03-31 07:27:29 -05:00
Jicheng Lu
f61ee50014
add active round log
2024-03-30 22:43:45 -05:00
Haiping Chen
8f9e2adcc3
Save to Storage as well
2024-03-30 19:48:13 -05:00
Haiping Chen
bed33c82fb
Remove agent required args based on latest states.
2024-03-30 07:51:11 -05:00
Haiping Chen
48cae89ac7
OnConversationEnding
2024-03-29 19:51:22 -05:00
Haiping Chen
52d542cafa
response_to_user
2024-03-29 19:07:09 -05:00
Haiping Chen
d8368ef83e
Provide conversation_end flat in response_to_user
2024-03-29 18:36:05 -05:00
Jicheng Lu
fc7a82de01
refine state node
2024-03-29 16:37:35 -05:00
Jicheng Lu
fd96a38818
refine state node
2024-03-29 16:01:13 -05:00
Haiping Chen
56e204c3ad
expected_user_goal_agent
2024-03-29 11:46:48 -05:00
C. Oceania
ffe9fb81b0
Update RoutingService.InvokeFunction.cs
2024-03-28 16:44:57 -05:00
Haiping Chen
3d7fb18ab0
optimize naive.
2024-03-28 15:38:16 -05:00
Haiping Chen
25a4ec3949
Merge branch 'master' of https://github.com/hchen2020/BotSharp
2024-03-28 14:10:07 -05:00
Haiping Chen
16e3a70ce7
human_intervention_needed
2024-03-28 14:09:53 -05:00
Haiping Chen
9f79dcf4a8
Save function result to Storage
2024-03-28 14:09:13 -05:00
Jicheng Lu
bd7d3ffafa
add state change event
2024-03-28 13:16:16 -05:00
Jicheng Lu
78ef7b6c37
refine rc options
2024-03-28 10:32:09 -05:00
Jicheng Lu
364414fdcf
fix cur message id
2024-03-27 22:21:34 -05:00
C. Oceania
777c10a426
Merge pull request #368 from iceljc/features/refine-breakpoint
...
add active rounds to state
2024-03-27 14:15:29 -05:00
Jicheng Lu
55480a97ea
add active rounds to state
2024-03-27 13:50:27 -05:00
Haiping Chen
280330bd33
Not trigger if replyMessage.FunctionName is empty.
2024-03-27 11:19:13 -05:00
C. Oceania
de2f4ee5b1
Merge pull request #365 from iceljc/features/refine-breakpoint
...
refine state
2024-03-27 06:49:38 -05:00
Haiping Chen
ac6ad99975
GetAgent perInstanceCache
2024-03-26 19:26:11 -05:00
Jicheng Lu
50d1c43cf0
minor change
2024-03-26 17:09:49 -05:00
Jicheng Lu
d572f90502
refine state
2024-03-26 16:57:13 -05:00
C. Oceania
747eb2dc2c
Clone message when received
2024-03-26 14:19:56 -05:00
Jicheng Lu
fc74da3eb0
Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/refine-breakpoint
2024-03-26 12:40:39 -05:00
Jicheng Lu
1ee3c4eb14
add breakpoint
2024-03-26 12:10:34 -05:00
Haiping Chen
691c3b2654
Delay persisting message to allow message content to be changed in hook.
2024-03-26 11:10:27 -05:00
C. Oceania
d33bd37615
Merge pull request #361 from iceljc/features/refine-conversation-functionality
...
Features/refine conversation functionality
2024-03-25 17:31:54 -05:00
Jicheng Lu
a918b88937
refine background service
2024-03-25 17:29:08 -05:00
Haiping Chen
7fb5410097
Support model_id in InstructMode
2024-03-25 11:22:43 -05:00
Jicheng Lu
2bcbfcb394
add start time in conv filter
2024-03-25 01:28:20 -05:00
Haiping Chen
5f5afada70
Remove task_completed
2024-03-24 23:38:00 -05:00
Haiping Chen
fee89ffb96
Conversation rate limit.
2024-03-24 12:33:41 -05:00
Haiping Chen
f7cbbe84de
UpdateBreakpoint resetStates
2024-03-24 08:56:21 -05:00
Haiping Chen
b9bfe0a7df
Add breakpoint feature.
2024-03-23 20:31:15 -05:00
Haiping Chen
6a87a035bc
#TEMPLATE#
2024-03-22 22:09:43 -05:00
hchen2020
531acfc8d1
Merge branch 'SciSharp:master' into master
2024-03-22 14:09:05 -05:00
Haiping Chen
33df282add
task completed hook.
2024-03-22 14:06:20 -05:00
hchen2020
f7becd9bb8
Merge branch 'SciSharp:master' into master
2024-03-22 08:25:22 -05:00
Haiping Chen
3a28a72f6c
Skip routing rule check if current agent is empty.
2024-03-22 08:24:58 -05:00
Haiping Chen
80995f54df
Merge branch 'master' of https://github.com/hchen2020/BotSharp
2024-03-22 07:53:54 -05:00
Haiping Chen
dccc345bcd
Check routing rule after poping agent.
2024-03-21 17:04:45 -05:00
C. Oceania
94d2b6aaa6
Update instruction.liquid
2024-03-20 16:13:27 -05:00
C. Oceania
2dc00006a0
Merge pull request #352 from hchen2020/master
...
RouteToAgentRoutingHandler
2024-03-20 10:39:59 -05:00
Haiping Chen
0609011650
RouteToAgentRoutingHandler
2024-03-20 10:38:56 -05:00
Haiping Chen
9f8d6cba2b
fix IH wo type fiter.
2024-03-20 09:23:48 -05:00
Jicheng Lu
8c4c0a0e6e
add google api
2024-03-19 17:32:17 -05:00
Haiping Chen
6cc63913d4
Support editor in rich content.
2024-03-19 11:08:28 -05:00
Jicheng Lu
a6eee9187b
refine code
2024-03-18 14:52:38 -05:00
Jicheng Lu
657677a43d
add botsharp options
2024-03-18 14:36:41 -05:00
101223
4f19721059
update instruction
2024-03-17 22:58:25 -05:00
Haiping Chen
70fdec2d3e
Support postback message.
2024-03-16 09:43:00 -05:00
Haiping Chen
d0e492820f
expected_next_action_agent
2024-03-14 23:48:32 -05:00
Haiping Chen
be7b5a9849
Fix InvokeFunction name.
2024-03-14 19:52:58 -05:00
Haiping Chen
a36347ea42
Syn latest state before rendering prompt.
2024-03-12 11:54:20 -05:00
C. Oceania
31805fb413
Merge pull request #339 from iceljc/features/add-message-delete-event
...
add message delete event
2024-03-12 06:13:13 -05:00
Jicheng Lu
53ef893ce9
revert code
2024-03-11 15:33:28 -05:00
Jicheng Lu
6c1cebe87b
add message delete event
2024-03-11 15:32:13 -05:00
Haiping Chen
1bccb15058
Syn agent template dict once states has been changed.
2024-03-11 13:26:49 -05:00
Haiping Chen
7d5959f387
OnRoutingInstructionRevised
2024-03-11 11:03:42 -05:00
Haiping Chen
656b533523
Emit OnRoutingInstructionRevised
2024-03-11 09:49:17 -05:00
Wenwei Lin
c34814af84
remove AspectInjector dependency in BotSharp.Core
2024-03-11 22:11:54 +08:00
Jicheng Lu
0d91a2b558
add conv state filter
2024-03-08 16:02:08 -06:00
Haiping Chen
538461db50
Remove source code reference of EntityFrameworkCore.BootKit.
2024-03-08 08:11:59 -06:00
Haiping Chen
28cf5c0b69
Abstract IWebBrowser.
2024-03-08 07:19:13 -06:00
C. Oceania
73f9f6d1e5
Merge pull request #333 from hchen2020/master
...
chagne default temperature.
2024-03-07 13:56:48 -06:00
Haiping Chen
86b905ca7c
chagne default temperature.
2024-03-07 12:27:29 -06:00
Jicheng Lu
c04e60b218
minor change
2024-03-07 11:30:51 -06:00
Jicheng Lu
b547ff1665
add clean setting
2024-03-07 11:25:23 -06:00
Jicheng Lu
eb9a2bb25e
add background service to clean idle conversations
2024-03-07 01:34:52 -06:00
Haiping Chen
96bf9d2fa0
Add user_goal_description to router.
...
Improve stream log.
2024-03-05 11:36:48 -06:00
Jicheng Lu
7c7a71e877
allow empty list update
2024-03-04 20:24:07 -06:00
Haiping Chen
885097ff3d
Add conversation summary for human_intervention_needed
2024-03-03 13:29:10 -06:00
C. Oceania
5b7e2c64c2
Merge pull request #327 from iceljc/features/add-log-agent-id
...
refine content log input
2024-02-29 23:48:55 -06:00
Haiping Chen
fb0adadf6a
Unified InvokeFunction.
2024-02-29 23:44:57 -06:00
Jicheng Lu
174aa61fe9
rename model
2024-02-29 20:50:39 -06:00
Haiping Chen
649a0726e2
Fix user id.
2024-02-28 21:07:12 -06:00
Haiping Chen
beb82c855a
fix GetCurrentAgentId
2024-02-28 20:45:01 -06:00
Haiping Chen
b2650a31e1
Merge branch 'master' of https://github.com/hchen2020/BotSharp
2024-02-28 20:41:26 -06:00
Haiping Chen
0f6a183ed4
Fix Pop agent bug.
2024-02-28 20:41:21 -06:00
C. Oceania
82da7e7067
Merge pull request #324 from iceljc/features/add-function-name
...
add delete log
2024-02-28 17:43:14 -06:00
Jicheng Lu
61dd64bfc8
add delete log
2024-02-28 17:37:36 -06:00
Haiping Chen
72c5ec7bd9
Improve IRoutingHook.
2024-02-28 14:40:59 -06:00
Haiping Chen
ac40aa645f
Stream Routing context log.
2024-02-28 10:21:14 -06:00
Haiping Chen
a0bf65698f
Add required flag.
2024-02-27 21:15:21 -06:00
Haiping Chen
18721a6b8f
Auto restore function name in InvokeFunction.
2024-02-27 14:59:08 -06:00
Haiping Chen
2582ecd578
Add TwoStagePlanner.
2024-02-27 07:19:05 -06:00
Jicheng Lu
9877f1c623
refine rich type and template type
2024-02-24 15:17:37 -06:00
Haiping Chen
5f7a8e5480
Support multiple agent types filtering
2024-02-23 09:15:10 -06:00
Haiping Chen
ad0e35157d
Rename to routing.
2024-02-23 08:55:32 -06:00
Haiping Chen
c67d0cc68f
Add hook of OnConversationRouting.
2024-02-22 19:53:00 -06:00
Haiping Chen
f4b4ca4329
OnConversationRedirected
2024-02-22 15:14:13 -06:00
Jicheng Lu
3bf9081e4a
refine json converter
2024-02-22 10:02:11 -06:00
Haiping Chen
1a0e5bea57
SQL Driver
2024-02-19 16:55:41 -06:00
C. Oceania
5f80b5e802
Merge pull request #301 from iceljc/features/save-conversation-log
...
add content log and state log
2024-02-15 14:48:41 -06:00
Jicheng Lu
c1753b888c
add content log and state log
2024-02-15 14:43:36 -06:00
C. Oceania
a6a717d6f3
fix issue when user name is null
2024-02-15 12:11:56 -06:00
Jicheng Lu
7d1aa8fcf5
fix oauth config
2024-02-14 19:48:03 -06:00
Haiping Chen
96eb5e1c59
Merge branch 'master' into github-sso
2024-02-14 17:45:38 -06:00
Haiping Chen
8f2ef5ba63
GitHub SSO
2024-02-14 17:45:28 -06:00
Haiping Chen
c73a713e15
show data in ChatHubConversationHook.
2024-02-12 15:49:18 -06:00
Haiping Chen
596a83655e
Add TaskId to conversation.
2024-02-12 09:14:33 -06:00
Haiping Chen
0473923fed
improve webdrive action response.
2024-02-08 15:39:56 -06:00
Haiping Chen
b5ab7cac47
Add hook of OnDialogRecordLoaded.
2024-02-06 14:42:35 -06:00
Haiping Chen
4a1ae030dd
Add more dialog history for SequentialPlanner
2024-02-05 23:58:38 -06:00
Haiping Chen
19ee935c29
Abstract IWebBrowser.
2024-02-05 23:05:52 -06:00
Jicheng Lu
fbc2760146
minor change
2024-02-05 14:55:24 -06:00
Jicheng Lu
911b2aa6f5
add task migration
2024-02-05 14:53:18 -06:00
Haiping Chen
37ce5f4a76
Allow send 3rd original bearer token.
2024-02-05 10:00:28 -06:00
Haiping Chen
8aa7158932
Fix sequential planning infinite loop.
2024-02-04 22:22:43 -06:00
Jicheng Lu
ce13c90c82
add direct agent id
2024-02-04 18:38:00 -06:00
Haiping Chen
c5f15b8340
Allow WebDriver use persistent context.
2024-02-04 16:55:46 -06:00
Jicheng Lu
041d2df1bc
refine page search
2024-02-04 14:20:20 -06:00
Jicheng Lu
e7223f1267
add update agent task
2024-02-04 14:01:56 -06:00
Jicheng Lu
9ea4b0209a
refine code
2024-02-03 23:58:52 -06:00
Jicheng Lu
326bcd2355
add agent task fetch, create, delete
2024-02-03 23:42:13 -06:00
Jicheng Lu
1ca4979545
minor change
2024-02-02 21:58:22 -06:00
Haiping Chen
a8c2b49d6f
AgentTask
2024-02-02 16:36:05 -06:00
Haiping
b29b074d0a
Merge pull request #285 from hchen2020/master
...
planner get remaining task.
2024-02-02 07:36:38 -06:00
geffzhang
0116bafbe8
fix : GenerateJwtToken not null
...
user.ExternalId is null should be string,Empty
2024-02-02 18:49:04 +08:00
Haiping Chen
2ad0f23d8c
Optimize WebDriver.
2024-02-01 22:16:57 -06:00
Haiping Chen
a3c6a6b93c
planner get remaining task.
2024-02-01 12:32:16 -06:00
Haiping Chen
2e5e12e309
Optimize WebDriver.
2024-01-31 21:29:13 -06:00
Haiping Chen
c3ead63acb
Improve UserIdentity implementation.
2024-01-31 13:57:54 -06:00
Haiping Chen
5ea2823010
IAuthenticationHook
2024-01-31 09:15:41 -06:00
Haiping Chen
aa16cfd04f
Change path.
2024-01-30 16:20:23 -06:00
Jicheng Lu
972de3d263
fix agent template migrate
2024-01-29 15:02:27 -06:00
Jicheng Lu
390399dd7e
add inherit agent id in mongo
2024-01-29 13:22:37 -06:00
Haiping Chen
8b930dbf5f
Resolve confilict.
2024-01-29 12:10:25 -06:00
Haiping Chen
67fd6f79fd
Allow agent to inherit from other agent.
2024-01-29 12:08:49 -06:00
Visagan Guruparan
dc5988a675
Update stats directory naming
2024-01-28 22:24:01 -06:00
Visagan Guruparan
910ab43fbd
Add new plugin for dashboard metrics
2024-01-28 22:18:40 -06:00
Jicheng Lu
e2abe6a5fd
add truncate message
2024-01-28 19:33:40 -06:00
Haiping Chen
2b6c2353b6
Add pizza bot router.
2024-01-27 19:02:33 -06: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
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
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
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
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
Jicheng Lu
d50ef81f3e
add missing field
2024-01-15 21:26:18 -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
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
cdae1235da
UnmatchedAgent
2024-01-06 16:24:22 -06:00
Haiping Chen
ddebff69ec
Add UserName
2024-01-04 21:20:50 -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
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
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
b3311a1917
Utilities.ClearCache
2023-12-27 09:33:03 -06:00
Haiping Chen
4c6c035b07
Plugin IconUrl.
2023-12-25 21:16:41 -06:00
Jicheng Lu
d79fbaabd2
refine completion log
2023-12-20 14:12:40 -06:00
Jicheng Lu
94f81cb173
refine llm prompt log
2023-12-19 22:20:08 -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
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 Chen
89af1d72a6
Set default LlmConfig for Agent level.
2023-12-13 17:16:34 -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
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
Jicheng Lu
fabbd8bcef
add invoke function in routing service
2023-12-06 21:06:09 -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
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
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
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
ab70a4d447
Allow override model for ExecutingDirectly.
2023-11-20 09:51:57 -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
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
f3a17f1b34
GetUserById
2023-11-13 19:25:25 -06:00
Haiping Chen
c21255979b
Remove ChatHub.
2023-11-13 10:47:27 -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
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
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
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
eb4e0b0187
Merge from master into add_richCoontent Branch
2023-10-27 16:21:52 -05:00
Haiping Chen
933fc3febd
Share one message instance through the conversation.
2023-10-27 15:36:26 -05:00
Yanan Wang
46710c14cc
Add richContent for future UI rendering
2023-10-27 14:05:18 -05:00
Haiping Chen
492a1d70ee
ITrackableMessage
2023-10-27 10:18:48 -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
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
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
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
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
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
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
Haiping Chen
34e22ce35f
Add Name/ Desc to IBotSharpPlugin
2023-10-12 06:36:36 -05:00
Haiping Chen
4e2d00611b
Move router profile to liquid.
2023-10-12 06:30:13 -05:00
Haiping Chen
8003fc39f0
Rollback.
2023-10-11 22:26:27 -05:00
Haiping Chen
fbd3c6f0ca
Fix #167
2023-10-11 19:59:09 -05:00
Haiping Chen
7fbff8c777
PluginController
2023-10-10 23:11:06 -05:00
hchen
578362c411
Allow retry 3 times for format response in Routing.
2023-10-10 16:53:04 -05:00
Haiping Chen
c9822dd7ee
TextCompletion of google-ai
2023-10-09 17:28:17 -05:00
Haiping Chen
5d481c2bac
fix #164
2023-10-08 19:05:17 -05:00
Haiping Chen
0cd0b32e9a
Add Google PaLM 2.
2023-10-08 15:46:42 -05:00
Haiping Chen
b7d19ee789
Bump to v0.15.1.
2023-10-02 15:40:15 -05:00
hchen
d165897069
Add RoutingContext to manage redirection stack automatically.
2023-10-02 15:16:35 -05:00
hchen2020
62e6e3b507
Add timer to ITokenStatistics and update docs.
2023-09-29 13:08:42 -05:00
hchen2020
e047963c59
remove routing injection.
2023-09-28 12:42:14 -05:00
Jicheng Lu
28a5bbb929
decouple mongo element with domain element
2023-09-28 12:16:39 -05:00
hchen
649cba561e
print functions in verbose.
2023-09-27 22:31:58 -05:00
hchen
6ce664d618
Format LLM functions.
2023-09-27 15:49:44 -05:00
Haiping
3740a8cc7a
Add GetChatCompletions and clean routing code.
2023-09-27 07:51:15 -05:00
hchen2020
ffdb33e234
Improve TokenStatistics.
2023-09-26 11:18:42 -05:00
hchen2020
3eaccfbe6a
Add TokenStatsModel.
2023-09-25 22:04:04 -05:00
Haiping Chen
3b00d2309c
Release v0.14.9.
2023-09-25 18:18:09 -05:00
hchen2020
0a11b516fb
Change RoutingArgs.
2023-09-25 17:46:00 -05:00
hchen2020
6c052f8f40
Add TokenStatistics for cost control.
2023-09-24 16:32:58 -05:00
Haiping Chen
c46fa843cd
Clean code.
2023-09-24 11:20:02 -05:00
hchen2020
dd346571b4
Add Execute Once.
2023-09-23 16:33:05 -05:00
hchen2020
4d449ff7d7
Re-define FunctionCallFromLlm.
2023-09-22 15:38:58 -05:00
Haiping Chen
8abc002f14
route_to_agent fallback
2023-09-21 14:21:59 -05:00
Haiping Chen
040d583c87
Add router description.
2023-09-21 11:40:54 -05:00
Haiping Chen
8b135e8c32
Add router name.
2023-09-21 11:23:43 -05:00
Haiping Chen
25ac948510
Fix package bug.
2023-09-21 10:10:24 -05:00
Haiping Chen
1ff154c682
Update router instruction.
2023-09-21 08:08:27 -05:00
hchen
18eb9d677c
RoutingSettings.Provider and Model.
2023-09-20 17:08:14 -05:00
Haiping Chen
a56d770e27
Add make_payment to PizzaBot.
2023-09-20 05:59:27 -05:00
Haiping Chen
a7b6c4083f
Build-in routing prompt.
2023-09-20 05:31:50 -05:00