Commit graph

333 commits

Author SHA1 Message Date
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
Haiping 938d52cc5c Fix PizzaBot build issue. 2023-09-30 17:02:49 -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 e3f607b4f9 reverse 2023-09-28 12:26:18 -05:00
Jicheng Lu 0399861ee7 add guid try parse 2023-09-28 12:25:37 -05:00
Jicheng Lu 28a5bbb929 decouple mongo element with domain element 2023-09-28 12:16:39 -05:00
hchen2020 7b45a27f13
Merge branch 'SciSharp:master' into master 2023-09-27 22:33:16 -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
Jicheng Lu 9a9cc1d52a remove token user id 2023-09-27 13:25:36 -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 f0e9ac50bf Make router agent be the first. 2023-09-21 12:12:45 -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 6524dc75f4 Upload PizzaBot prompt. 2023-09-20 05:32:55 -05:00
Haiping Chen 991f8933b7 Add setting of EnableReasoning 2023-09-20 05:32:17 -05:00
Haiping Chen a7b6c4083f Build-in routing prompt. 2023-09-20 05:31:50 -05:00
Haiping 6ced7a0c7e
Merge pull request #149 from iceljc/features/update-agent-structure
Features/update agent structure
2023-09-19 16:58:05 -05:00
Jicheng Lu 114bae3c2a rename mongo routing rule element 2023-09-19 13:20:41 -05:00
Jicheng Lu d238064af9 refine agent and update 2023-09-19 13:18:29 -05:00
hchen ba49e672ce Fix instruction mode. 2023-09-19 13:05:51 -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
Haiping Chen 3df0565a63 Bump version to v0.13.0. 2023-09-18 13:41:49 -05:00
hchen2020 a13ef3007b Eliminate route file configuration. 2023-09-18 13:13:49 -05:00
hchen2020 d46fc73ce7 Merge branch 'master' of https://github.com/hchen2020/BotSharp 2023-09-18 08:56:14 -05:00
Haiping Chen ba99aabd3e Move PizzaBot project to another solution. 2023-09-18 05:13:56 -05:00
Haiping Chen ab09f1fcae Support HuggingFace Inference API. 2023-09-18 03:35:02 -05:00
hchen2020 5d06d9ad5d Merge branch 'master' of https://github.com/hchen2020/BotSharp 2023-09-15 17:49:26 -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
hchen2020 c54e0353d8 Get similar work orders before wo creation. 2023-09-15 14:42:14 -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
Haiping 65e8554b6e
Merge pull request #140 from iceljc/features/add-mongo-implementation
Features/add mongo implementation
2023-09-13 03:51:57 -05:00
Haiping ddfcf59e31
Update appsettings.json 2023-09-13 03:23:59 -05:00
Jicheng Lu 0c92997f84 add table prefix 2023-09-12 17:34:50 -05:00
Jicheng Lu 075e9da5bf add agent template 2023-09-12 17:08:58 -05:00
Wenbo Cao 043980dee2 Modify the functions 2023-09-12 12:42:31 -05:00
Jicheng Lu 7e3e58aba1 add json ignore 2023-09-11 23:27:04 -05:00
Wenbo Cao eaab096ca0 solve RoutingSpeeder path issue 2023-09-11 14:20:33 -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 0955cf5b4e Change MongoStorage project props. 2023-09-09 15:30:39 -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
Wenbo Cao 27bcaad52f fix-local-file-loading-issue 2023-09-06 23:15:31 -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
Wenbo Cao f7f9e96f0e remove unused libraries 2023-09-04 18:16:13 -05:00
Wenbo Cao 310576045f re-format code style 2023-09-04 17:36:32 -05:00
Wenbo Cao 7c93820ae5 Merge branch 'master' into re-format-the-code 2023-09-04 17:14:55 -05:00
Wenbo Cao aedaaea229 re-format the code 2023-09-04 17:14:39 -05:00