Commit graph

209 commits

Author SHA1 Message Date
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