Commit graph

58 commits

Author SHA1 Message Date
hchen 0bf2fe58fc Fix ExecuteOnce fetch dialogs. 2023-11-16 12:20:43 -06:00
hchen 8ed35691f9 Clean code. 2023-10-31 20:48: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 c7ff0e4c2e Rename to ReasoningPlanner. 2023-10-28 20:54:10 -05:00
Haiping Chen 513ad5814e NaivePlanner 2023-10-28 15:59:26 -05:00
Haiping Chen 58051e2db0 Merge branch 'master' of https://github.com/SciSharp/BotSharp 2023-10-27 15:36:34 -05:00
Haiping Chen 933fc3febd Share one message instance through the conversation. 2023-10-27 15:36:26 -05:00
hchen2020 0cbb0183cf
Merge branch 'SciSharp:master' into master 2023-10-27 10:36:46 -05:00
Haiping Chen 492a1d70ee ITrackableMessage 2023-10-27 10:18:48 -05:00
Haiping Chen cee91acaaa Fix OriginAgentId 2023-10-26 20:23:06 -05:00
hchen 11176f3539 Add SelfId to IAgentHook. 2023-10-24 16:38:34 -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
hchen bf9bb2b6d3 Allow agent to use few-shot learning. 2023-10-19 12:24:00 -05:00
hchen 8c43de14e9 Fix bug of next_step_prompt with args. 2023-10-17 10:49:07 -05:00
Haiping 1c0fe993ba Move next step prompt to liquid template. 2023-10-13 18:36:57 -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 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 c9822dd7ee TextCompletion of google-ai 2023-10-09 17:28:17 -05:00
hchen d165897069 Add RoutingContext to manage redirection stack automatically. 2023-10-02 15:16:35 -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
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 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 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 a7b6c4083f Build-in routing prompt. 2023-09-20 05:31:50 -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 de82fac8e2 Change interface GetAgentResponses. 2023-09-09 15:13:19 -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 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 dc755e33f9 merge with remote 2023-09-05 22:38:35 -05:00