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
bf9bb2b6d3
Allow agent to use few-shot learning.
2023-10-19 12:24:00 -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 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
Jicheng Lu
541b8fde50
refine agent data fetching
2023-10-16 16:37:01 -05:00
Jicheng Lu
0ea469b29f
relocate agent template in file repository
2023-10-15 23:12:17 -05:00
hchen
6ce664d618
Format LLM functions.
2023-09-27 15:49:44 -05:00
Jicheng Lu
d238064af9
refine agent and update
2023-09-19 13:18:29 -05:00
Jicheng Lu
16b6683c01
temp save
2023-09-19 11:38:31 -05:00
hchen2020
a13ef3007b
Eliminate route file configuration.
2023-09-18 13:13:49 -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
0299fb4f71
refine agent update in mongo
2023-09-15 15:19:44 -05:00
Jicheng Lu
075e9da5bf
add agent template
2023-09-12 17:08:58 -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
9f918c6509
fix file bugs
2023-09-08 13:16:23 -05:00
Jicheng Lu
4f9595f1cd
refine code
2023-09-08 12:17:54 -05:00
Jicheng Lu
45ed8d6cfe
remove record reference
2023-09-07 17:04:34 -05:00
Jicheng Lu
9d6a7ba690
split dialog and state
2023-09-05 23:41:49 -05:00
Jicheng Lu
f381208498
use list extension
2023-09-03 17:58:07 -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
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
Jicheng Lu
4e3708e525
temp save
2023-09-01 17:33:36 -05:00
Jicheng Lu
a2a3759353
add mongo repository
2023-08-25 23:41:01 -05:00
hchen2020
0fe0f1db79
Fix user agents in FileRepository.
2023-08-16 07:11:24 -05:00
Haiping Chen
904939af71
Remove database dependency. #100
2023-08-14 13:16:35 -05:00
hchen
4306358876
Fix FileRepository bug.
2023-08-10 17:17:55 -05:00
hchen2020
1543dd6ce9
File repository.
2023-08-09 23:53:22 -05:00
hchen2020
f84534ec1a
Seperate UserAgent.
2023-07-24 21:22:18 -05:00
hchen2020
52600e804c
Support multiple database.
2023-07-21 16:56:14 -05:00
hchen2020
2904c92513
Add IChatCompletion to IConversationCompletionHook
2023-07-20 20:55:40 -05:00
Haiping Chen
29a65a0086
Add file as conversation storage.#76
2023-06-27 13:31:13 -05:00
Haiping Chen
e843006cc7
Add MemVecDb.
2023-06-26 18:08:24 -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
229fcfe6ea
Refactor plugins mechanism.
2023-06-06 19:59:32 -05:00
Haiping Chen
66bd6e53dd
Adapt HuggingChat UI (WIP).
2023-06-02 21:07:30 -05:00