Jicheng Lu
931149fc9d
fix mongo serilaization
2023-10-19 13:15:49 -05:00
Haiping
5009b97327
Merge pull request #178 from hchen2020/master
...
Fix typo.
2023-10-18 12:00:23 -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
Haiping
67a445a4e0
Merge pull request #177 from hchen2020/master
...
Refactor FixMalformedResponse.
2023-10-18 10:55:41 -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
Haiping
a69cb49044
Merge pull request #175 from iceljc/features/add-refresh-agents
...
add bulk insert agents and user agents
2023-10-17 15:41:22 -05:00
Jicheng Lu
336a98d22a
add bulk insert agents and user agents
2023-10-17 15:29:40 -05:00
Haiping
6de53c4233
Merge pull request #174 from hchen2020/master
...
Fix bug of next_step_prompt with args.
2023-10-17 10:50:20 -05:00
hchen
8c43de14e9
Fix bug of next_step_prompt with args.
2023-10-17 10:49:07 -05:00
Haiping
eb7529cf01
Merge pull request #173 from iceljc/master
...
use BotSharpMongoDb
2023-10-16 18:38:26 -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
Deep Blue
9b2524a009
Merge pull request #171 from Deep-Blue-2013/master
...
Add IContentGeneratingHook.
2023-10-16 15:11:34 -05:00
Haiping
8531d8ab09
Add IContentGeneratingHook.
2023-10-16 15:07:07 -05:00
Haiping
60a2131214
Merge pull request #170 from iceljc/features/relocate-agent-templates
...
Features/relocate agent templates
2023-10-16 10:39:42 -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
Deep Blue
54255b4b13
Merge pull request #169 from Deep-Blue-2013/master
...
Move next step prompt to liquid template.
2023-10-13 18:37:45 -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
Haiping
30b82591e4
Merge pull request #168 from hchen2020/master
...
Add user_goal_agent to track user's original task.
2023-10-12 21:18:34 -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
Haiping
129bd50bf0
Merge pull request #166 from hchen2020/master
...
Allow retry 3 times for format response in Routing.
2023-10-10 20:14:12 -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
caf60693a4
sphinx-rtd-theme
2023-10-08 19:37:48 -05:00
Haiping Chen
531ee06b69
recommonmark
2023-10-08 19:33:06 -05:00
Haiping Chen
5d481c2bac
fix #164
2023-10-08 19:05:17 -05:00
Haiping Chen
0fe19821cc
Add readme of plugin.
2023-10-08 17:51:46 -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
Haiping
0974d0eab0
Merge pull request #163 from hchen2020/master
...
Add RoutingContext to manage redirection stack automatically.
2023-10-02 15:22:25 -05:00
hchen
d165897069
Add RoutingContext to manage redirection stack automatically.
2023-10-02 15:16:35 -05:00
Deep Blue
cc212472b7
Merge pull request #162 from Deep-Blue-2013/master
...
Fix PizzaBot build issue.
2023-09-30 17:03:37 -05:00
Haiping
938d52cc5c
Fix PizzaBot build issue.
2023-09-30 17:02:49 -05:00
Deep Blue
3632a9a531
Merge pull request #161 from hchen2020/master
...
Add timer to ITokenStatistics and update docs
2023-09-29 13:34:55 -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