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
Jicheng Lu
d238064af9
refine agent and update
2023-09-19 13:18:29 -05:00
Jicheng Lu
88f45927a9
Merge remote-tracking branch 'upstream/master' into features/update-agent-structure
2023-09-19 11:39:36 -05:00
Jicheng Lu
16b6683c01
temp save
2023-09-19 11:38:31 -05:00
hchen
73ead13d7f
Rename PackageVersion to BotSharpVersion;
...
Add SetModelName to IChatCompletion.
2023-09-19 11:29:25 -05:00
Haiping Chen
3e68cf0311
Try new routing.
2023-09-19 07:17:50 -05:00
Jicheng Lu
4a219798d9
sync agent structure changes
2023-09-18 18:14:24 -05:00
hchen2020
a13ef3007b
Eliminate route file configuration.
2023-09-18 13:13:49 -05:00
Haiping Chen
ab09f1fcae
Support HuggingFace Inference API.
2023-09-18 03:35:02 -05:00
Jicheng Lu
1376326a7a
add update all agent fields in file repository
2023-09-15 17:13:55 -05:00
Jicheng Lu
e6e01929a1
refine update agent in file repository
2023-09-15 17:08:59 -05:00
Jicheng Lu
feb884d1f5
assign fields
2023-09-15 15:52:22 -05:00
Jicheng Lu
0299fb4f71
refine agent update in mongo
2023-09-15 15:19:44 -05:00
hchen
18e318b2a3
disable cache in local
2023-09-14 20:19:32 -05:00
hchen
4b6c32586c
Set default ModelName as null.
2023-09-14 11:42:48 -05:00
Haiping Chen
17bfcb2518
Set model in conversation state.
2023-09-13 20:41:51 -05:00
Jicheng Lu
4ad51f0e38
add update agent from file
2023-09-13 17:34:19 -05:00
Jicheng Lu
be3150a254
fetch routing items and profiles from file
2023-09-13 17:00:31 -05:00
hchen
e939707595
Fix bug when there are multiple missing fileds.
2023-09-13 05:08:34 -05:00
Jicheng Lu
075e9da5bf
add agent template
2023-09-12 17:08:58 -05:00
Haiping Chen
d1ff4c0c3c
Support adustment of Temperature and SamplingFactor for incoming message.
2023-09-11 12:09:41 -05:00
Jicheng Lu
f5e006edd7
refine agent response
2023-09-09 16:44:25 -05:00
Haiping Chen
de82fac8e2
Change interface GetAgentResponses.
2023-09-09 15:13:19 -05:00
Jicheng Lu
43d7d8bbce
remove comments
2023-09-09 11:39:41 -05:00
Jicheng Lu
5e9f910661
resove conflicts
2023-09-09 11:29:08 -05:00
Jicheng Lu
56eb31dd1d
merge with master
2023-09-09 11:28:52 -05:00
hchen2020
93457dd6a9
Support model switch in request level.
2023-09-09 10:37:38 -05:00
hchen2020
040c40283e
Allow switch ChatCompletionProvider dynamically.
2023-09-08 18:32:57 -05:00
hchen2020
ec9faa6c4e
Automatically populate LLM args by current conversation states.
2023-09-08 17:05:55 -05:00
Jicheng Lu
9f918c6509
fix file bugs
2023-09-08 13:16:23 -05:00
Jicheng Lu
24be8e7791
resolve conflict
2023-09-08 12:23:54 -05:00
Jicheng Lu
a84f58af78
merge with master
2023-09-08 12:23:44 -05:00
Jicheng Lu
4f9595f1cd
refine code
2023-09-08 12:17:54 -05:00
hchen
d3e33a9aa4
Add IInstructHook.
2023-09-08 12:03:49 -05:00
hchen
760a047d71
Define new InstructMessageModel.
2023-09-07 17:06:41 -05:00
Jicheng Lu
45ed8d6cfe
remove record reference
2023-09-07 17:04:34 -05:00
Jicheng Lu
5b543e6f8b
merge with remote
2023-09-06 17:14:57 -05:00
Haiping Chen
9f74b04fd7
Separate KnoledgeBase as standalone plugin.
2023-09-06 07:58:02 -05:00
Jicheng Lu
ad8b9a35b9
minor change
2023-09-05 23:43:05 -05:00
Jicheng Lu
9d6a7ba690
split dialog and state
2023-09-05 23:41:49 -05:00
Jicheng Lu
1981b0f000
resolve conflicts
2023-09-05 22:39:56 -05:00
Jicheng Lu
dc755e33f9
merge with remote
2023-09-05 22:38:35 -05:00
Haiping Chen
05b8db8547
Support states from inbound api.
2023-09-05 22:19:36 -05:00
Jicheng Lu
a882689e2c
sync ispublic
2023-09-04 10:15:02 -05:00
Jicheng Lu
d1d18538e1
add user id
2023-09-03 23:26:39 -05:00
Haiping Chen
a2bae7424f
Add IsPublic to Agent.
2023-09-03 22:02:35 -05:00
Haiping Chen
147aa944da
Fix reasoner function call.
2023-09-03 21:45:31 -05:00
hchen2020
2698830c7a
Fix get agents in user external id.
2023-09-03 21:21:53 -05:00
Jicheng Lu
f381208498
use list extension
2023-09-03 17:58:07 -05:00
Jicheng Lu
b5c90c02bc
resove conflicts
2023-09-03 17:53:36 -05:00
Jicheng Lu
0acf60ba08
merge with master
2023-09-03 17:51:13 -05:00
Jicheng Lu
4cc74e596a
add conversation collection
2023-09-03 17:43:50 -05:00
Jicheng Lu
c897209fda
depend on default repository
2023-09-03 14:32:12 -05:00
Jicheng Lu
be5f9f247a
update conversation record
2023-09-03 14:06:40 -05:00
Jicheng Lu
ba96bd81c0
add get agent response
2023-09-02 23:54:22 -05:00
Jicheng Lu
ca6f60695d
add routing item and profile
2023-09-02 23:11:53 -05:00
Jicheng Lu
5531944a9f
add routing item and routing profile
2023-09-02 17:41:58 -05:00
Jicheng Lu
f5819919fc
add create user, create/update agent
2023-09-02 00:10:46 -05:00
hchen2020
fee9b6f93b
Fix collecting training data set.
2023-09-01 22:02:27 -05:00
Haiping Chen
6146ca1fa5
bump verion to v0.10.1.
2023-09-01 21:25:43 -05:00
Jicheng Lu
4e3708e525
temp save
2023-09-01 17:33:36 -05:00
Haiping Chen
c2cb80bc67
Add Instruct Mode and Open API.
2023-09-01 17:26:25 -05:00
Jicheng Lu
6330335b5d
sync with master
2023-09-01 16:17:57 -05:00
Jicheng Lu
7dc43f7554
merge with master
2023-09-01 14:56:37 -05:00
Haiping Chen
973ec72e6d
Fix intent code start issue.
2023-09-01 10:42:16 -05:00
Wenbo Cao
7762627f82
Add intent classifier
2023-08-31 17:00:31 -05:00
Wenbo Cao
890df8743a
Add intent classifier in routing speeder.
2023-08-31 10:48:59 -05:00
Haiping Chen
9f6739643a
RenderIntentResponse
2023-08-31 06:40:51 -05:00
Haiping Chen
20a7676442
Allow hook to interrupt completion.
2023-08-30 21:09:38 -05:00
Haiping Chen
4dcb00ca83
Function templating response.
2023-08-30 18:29:01 -05:00
Haiping Chen
55f1ff9ae1
Release v0.10.0
2023-08-29 21:48:59 -05:00
hchen2020
090cf58b01
Fix send message directly to agent without routing.
2023-08-29 21:19:19 -05:00
hchen2020
7fd1a96e28
Switch routing-profile per channel.
2023-08-29 15:31:53 -05:00
Jicheng Lu
1bf4dd16a0
resolve conflicts
2023-08-28 14:36:02 -05:00
Jicheng Lu
45baed5a55
merge with master
2023-08-28 14:31:38 -05:00
Jicheng Lu
21943002c0
add basic mongo store
2023-08-28 13:57:51 -05:00
Haiping
ab813205d1
Merge pull request #118 from hchen2020/master
...
Draft of Reasoning
2023-08-28 11:19:19 -05:00
hchen2020
5413f4f71b
response_to_user after reasoning.
2023-08-28 10:58:35 -05:00
Wenbo Cao
780bb4ed79
Add PaddleOcrConverter
2023-08-28 10:28:52 -05:00
Wenbo Cao
14d9066f65
Add PaddleOcrConverter
2023-08-28 10:24:43 -05:00
Jicheng Lu
60c2aa76bb
add external user
2023-08-28 00:40:15 -05:00
Jicheng Lu
1bf8ecdc38
refine get agent
2023-08-28 00:36:11 -05:00
Jicheng Lu
d7d0af2c15
add create agent and update agent
2023-08-28 00:28:14 -05:00
hchen2020
6f5cf2fcae
Draft of Reasoning
2023-08-27 22:50:10 -05:00
hchen2020
e4d8524376
Add disabled property to routing table.
2023-08-27 06:07:22 -05:00
Jicheng Lu
00d61501cc
add missing using
2023-08-26 12:23:02 -05:00
Jicheng Lu
eeb3ace9b9
Merge branch 'master' into features/add-mongo-implementation
2023-08-26 12:20:07 -05:00
Jicheng Lu
a2a3759353
add mongo repository
2023-08-25 23:41:01 -05:00
Haiping Chen
7e95be00ef
Merge branch 'v0.9.0-routing'
2023-08-25 10:45:28 -05:00
Haiping Chen
3ef775561a
Bump version to v0.9.4
2023-08-25 10:38:25 -05:00
hchen2020
b03e38950e
Render router instruction by route record dynamically.
2023-08-25 10:33:21 -05:00
Haiping Chen
75b9ad3fd3
Merge branch 'master' into v0.9.0-routing
2023-08-24 07:21:15 -05:00
hchen2020
434324358a
MaxRecursiveDepth setting.
2023-08-24 07:18:41 -05:00
hchen2020
c8b9ce128f
Catch and log function call error.
2023-08-24 07:12:27 -05:00
Haiping Chen
59e1788ff7
Bumb version number.
2023-08-23 13:48:02 -05:00
hchen2020
e026e696cd
Allow agent redirect directly.
2023-08-23 13:32:13 -05:00
hchen2020
c98c79d2db
Fix dead loop when depth exceeds the limit.
2023-08-23 10:40:46 -05:00
hchen2020
7570108be5
Remove RoutingResult.
2023-08-22 22:08:14 -05:00
hchen2020
e3a00c54e8
Remove GoToRouterFn.
2023-08-22 15:02:50 -05:00
hchen2020
78b33bd4de
Apply centralized routing by routing table.
2023-08-21 23:49:42 -05:00
hchen2020
36f0f2771b
Ignore state if the value is empty.
2023-08-21 23:48:17 -05:00
hchen
b68c311acb
Support Messenger quick reply.
2023-08-20 17:53:53 -05:00
hchen2020
0da5bd36f7
Add onFunctionExecuted to reflect UI progress.
2023-08-20 14:02:59 -05:00
Haiping Chen
47f8fddbac
Seperate out LLamaSharp plugin.#100
2023-08-19 08:25:47 -05:00
hchen2020
d4f875c979
Add maxRecursiveDepth to avoid keeping calling LLM.
2023-08-19 07:50:26 -05:00
hchen2020
d9c5f5a0ad
Enhance Agent Rounter mechanism
2023-08-18 19:15:50 -05:00
hchen2020
ca60476d24
GetChatCompletionsAsyncRecursively
2023-08-17 23:27:07 -05:00
hchen2020
f825438632
Support liquid template.
2023-08-17 21:44:49 -05:00
hchen2020
77960842d9
Refactor to support agent router.
2023-08-16 23:04:23 -05:00
hchen2020
0fe0f1db79
Fix user agents in FileRepository.
2023-08-16 07:11:24 -05:00
hchen2020
38bf2cdf4e
Add GetVectors batch interface.
2023-08-15 12:21:04 -05:00
hchen2020
a4f5af93f7
Add CleanState function.
2023-08-15 10:41:34 -05:00
hchen
f6dec6e6e2
Redefine IFunctionCallback.Execute.
2023-08-14 17:14:05 -05:00
Haiping Chen
904939af71
Remove database dependency. #100
2023-08-14 13:16:35 -05:00
hchen
e57676ed46
Add Agent hook.
2023-08-14 12:00:01 -05:00
Wenbo Cao
bb81651ec0
modify cosine function
2023-08-11 14:16:08 -05:00
hchen2020
0bce77e132
search wo by address and phone.
2023-08-11 11:12:13 -05:00
hchen
87e18d7d29
Merge branch 'master' of https://github.com/hchen2020/BotSharp
2023-08-10 17:18:20 -05:00
hchen
4306358876
Fix FileRepository bug.
2023-08-10 17:17:55 -05:00
hchen2020
7eab6e5ee8
Merge branch 'SciSharp:master' into master
2023-08-10 13:53:07 -05:00
hchen
d4f4e1e805
Support agent switch based on state.
2023-08-10 11:43:35 -05:00
Haiping Chen
8d07ec7d59
knowledge docs.
2023-08-10 07:25:08 -05:00
hchen2020
1543dd6ce9
File repository.
2023-08-09 23:53:22 -05:00
hchen
d55490dc07
Tracking conversation state.
2023-08-09 16:49:55 -05:00
hchen2020
19a31510c0
Adjust conversation history format.
2023-08-07 17:37:32 -05:00
hchen
3f49d11eff
Re-format dialog history.
2023-08-07 15:17:54 -05:00
hchen
b6c0d47b02
Add onFunctionExecuting to SendMessage.
2023-08-07 12:48:09 -05:00
Haiping Chen
e81e01f8e3
Fix LLamaSharpPlugin.TextEmbeddingProvider
2023-08-07 05:21:31 -05:00
hchen
67de32b07c
Messenger platform.
2023-08-04 17:07:44 -05:00
Haiping Chen
f27896f178
Complete the getting started document
2023-07-31 19:57:11 -05:00
hchen2020
9b917b05c9
IFunctionCallback
2023-07-30 13:22:07 -05:00
hchen2020
746884fbfe
Load function from conversation history.
2023-07-28 10:54:29 -05:00
hchen2020
efbc61ec1e
Change OnFunctionExecution return type.
2023-07-27 23:27:12 -05:00
hchen
60ce930d4c
Function execution status.
2023-07-27 16:56:57 -05:00
hchen
842880dbbf
Add onMessageReceived to support streaming.
2023-07-27 10:07:39 -05:00
hchen
a87ec531b5
Add FunctionDefinition.
2023-07-26 16:05:30 -05:00
hchen2020
f84534ec1a
Seperate UserAgent.
2023-07-24 21:22:18 -05:00
Haiping Chen
9ec85acf7a
Massive update v0.6.0
2023-07-22 06:35:30 -05:00
hchen2020
ee6e4d61fb
Add custom agent data directory.
2023-07-21 17:17:16 -05:00
hchen2020
52600e804c
Support multiple database.
2023-07-21 16:56:14 -05:00
hchen2020
d8ec3ee198
Change ChatMessage to RoleDialogModel.
2023-07-21 15:15:09 -05:00
hchen
b250fc730d
Fix user null issue.
2023-07-21 10:15:30 -05:00
hchen2020
2904c92513
Add IChatCompletion to IConversationCompletionHook
2023-07-20 20:55:40 -05:00
hchen2020
12e7d32be1
Update IConversationCompletionHook.
2023-07-19 17:30:23 -05:00
Haiping Chen
6b2d1fa30b
Add converation completion hook.
2023-07-19 07:08:40 -05:00
xbotter
21a1e69447
update wechat account user bind
2023-07-03 10:57:09 +08:00
xbotter
2d7501e24b
Merge branch 'wechat-plugin' of https://github.com/xbotter/BotSharp into wechat-plugin
2023-07-03 09:03:50 +08:00
xbotter
aa68256fb4
add wechat identity
2023-07-03 09:02:33 +08:00
hchen2020
b64a4597b1
Enable knowledge in chatbot.
2023-06-29 18:14:57 -05:00
Haiping Chen
e5e322b3d7
#81
2023-06-27 18:36:50 -05:00
Haiping Chen
7244fd2604
Enable LLamaSharp (WIP) #81
2023-06-27 14:17:53 -05:00
Haiping Chen
29a65a0086
Add file as conversation storage.#76
2023-06-27 13:31:13 -05:00
Haiping Chen
a7b263e2eb
All user to config providers in KnowledgeBase.#77
2023-06-26 23:08:23 -05:00
xbotter
d143e02927
fix BackgroundService
2023-06-27 10:23:30 +08:00
xbotter
9774a601b2
Merge branch 'master' into wechat-plugin
2023-06-27 07:14:43 +08:00
Haiping Chen
e843006cc7
Add MemVecDb.
2023-06-26 18:08:24 -05:00
xbotter
8b680203dd
adapt to IApplicationBuilder configure
2023-06-27 06:16:21 +08:00
Haiping Chen
e3c9d0632c
Abastract chat service zone.
2023-06-22 23:43:00 -05:00
Haiping Chen
7c945ac2b2
#78
2023-06-19 13:32:06 -05:00
Haiping Chen
e450f5dbff
#76
2023-06-19 11:33:27 -05:00
Haiping Chen
1f9f8767d4
Add chunk chopping #70
2023-06-18 13:15:00 -05:00
Haiping Chen
43dfc9b642
Abstract Vector database.
2023-06-17 21:56:22 -05:00
Haiping Chen
dcffdd076d
Add Meta AI plugin.
2023-06-17 08:32:39 -05:00
Haiping Chen
e9817af1a7
Knowledge base initial.
2023-06-16 21:42:35 -05:00
Haiping Chen
578ba15ef5
Get agent list.
2023-06-16 06:36:03 -05:00
Haiping Chen
2dd93aef42
Added ContentTransfer.
2023-06-12 22:27:31 -05:00
Haiping Chen
08b96c2475
Support conversation session partially.
2023-06-12 08:28:49 -05:00
Haiping Chen
8046ddafe6
Support User related functions.
2023-06-11 18:46:02 -05:00
Haiping Chen
071a64ea21
Remove IPlatformMidware.
2023-06-09 21:56:04 -05:00
Haiping Chen
e7fb76d7f5
Add arts files.
2023-06-07 23:17:41 -05:00
Haiping Chen
aaa9261ac5
Rename to TextGeneratives.
2023-06-06 20:08:25 -05:00
Haiping Chen
229fcfe6ea
Refactor plugins mechanism.
2023-06-06 19:59:32 -05:00
Haiping Chen
2f25a55f80
Rename to BotSharp.Platform.Native
2023-06-03 09:57:08 -05:00
Haiping Chen
66bd6e53dd
Adapt HuggingChat UI (WIP).
2023-06-02 21:07:30 -05:00
Haiping Chen
405a725dc3
Improve IChatCompletionHandler
2023-05-28 20:06:05 -05:00
Haiping Chen
bae5087642
Add Azure OpenAi.
2023-05-28 11:30:27 -05:00
Haiping Chen
4d5ac2111d
Add LLamaSharp.
2023-05-26 20:58:31 -05:00
Haiping Chen
96e64e60fb
Add Chatbot UI.
2023-05-25 20:36:15 -05:00