Commit graph

178 commits

Author SHA1 Message Date
Haiping Chen 89b5cacbe9 Add SenderId to RoleDialogModel 2023-11-14 08:13:54 -06:00
Haiping Chen f3a17f1b34 GetUserById 2023-11-13 19:25:25 -06:00
SeplzZZ e467a7bd01 add ConversationTimeoutService 2023-11-10 10:01:03 -06:00
hchen b55abdf4dc IConversationAttachmentService 2023-11-09 15:11:36 -06:00
hchen ad606e6710 Fix rich content text in InstructExecutor. 2023-11-08 16:47:23 -06:00
hchen 3483fd42a1 Adjust rich content data structure. 2023-11-08 16:27:42 -06:00
hchen 8ed35691f9 Clean code. 2023-10-31 20:48:12 -05:00
Haiping Chen 3caa7a5499 HFPlanner 2023-10-30 11:48:18 -05:00
Haiping Chen 8bf61cb94c Merge branch 'master' into v0.18-llm-planning 2023-10-28 21:20:30 -05:00
Yanan Wang 0ca92c0328 Fix the bugs due to the MessageingType typo correct 2023-10-28 21:15:41 -05:00
Haiping Chen 513ad5814e NaivePlanner 2023-10-28 15:59:26 -05:00
Yanan Wang 89c62bf496 Default RichContent 2023-10-27 17:55:28 -05:00
Yanan Wang eb4e0b0187 Merge from master into add_richCoontent Branch 2023-10-27 16:21:52 -05:00
Haiping Chen 933fc3febd Share one message instance through the conversation. 2023-10-27 15:36:26 -05:00
Yanan Wang 46710c14cc Add richContent for future UI rendering 2023-10-27 14:05:18 -05:00
Haiping Chen 492a1d70ee ITrackableMessage 2023-10-27 10:18:48 -05:00
Jicheng Lu 4041ca8de7 remove code 2023-10-25 16:40:36 -05:00
Jicheng Lu 9f6f0e2d92 add execution log 2023-10-23 15:33:24 -05:00
Haiping Chen a4c1b56740 Add executor of evaluation. 2023-10-22 19:31:49 -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
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 8531d8ab09 Add IContentGeneratingHook. 2023-10-16 15:07:07 -05:00
Haiping Chen 8ea6b0f814 Add ConversationEnding to IConversationHook 2023-10-15 19:08:24 -05:00
Haiping Chen 4e2d00611b Move router profile to liquid. 2023-10-12 06:30:13 -05:00
hchen2020 62e6e3b507 Add timer to ITokenStatistics and update docs. 2023-09-29 13:08:42 -05:00
Jicheng Lu 28a5bbb929 decouple mongo element with domain element 2023-09-28 12:16:39 -05:00
hchen 649cba561e print functions in verbose. 2023-09-27 22:31:58 -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
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
hchen2020 a13ef3007b Eliminate route file configuration. 2023-09-18 13:13:49 -05:00
Haiping Chen ab09f1fcae Support HuggingFace Inference API. 2023-09-18 03:35:02 -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
hchen e939707595 Fix bug when there are multiple missing fileds. 2023-09-13 05:08:34 -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 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
Jicheng Lu 9f918c6509 fix file bugs 2023-09-08 13:16:23 -05:00
Jicheng Lu a84f58af78 merge with master 2023-09-08 12:23:44 -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
Haiping Chen 147aa944da Fix reasoner function call. 2023-09-03 21:45:31 -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 be5f9f247a update conversation record 2023-09-03 14:06:40 -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
Haiping Chen c2cb80bc67 Add Instruct Mode and Open API. 2023-09-01 17:26:25 -05:00
Jicheng Lu 7dc43f7554 merge with master 2023-09-01 14:56:37 -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
hchen2020 090cf58b01 Fix send message directly to agent without routing. 2023-08-29 21:19:19 -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
hchen2020 5413f4f71b response_to_user after reasoning. 2023-08-28 10:58:35 -05:00
hchen2020 6f5cf2fcae Draft of Reasoning 2023-08-27 22:50:10 -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
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
hchen2020 c98c79d2db Fix dead loop when depth exceeds the limit. 2023-08-23 10:40:46 -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
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 77960842d9 Refactor to support agent router. 2023-08-16 23:04:23 -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
hchen e57676ed46 Add Agent hook. 2023-08-14 12:00:01 -05:00
hchen 4306358876 Fix FileRepository bug. 2023-08-10 17:17:55 -05:00
hchen d4f4e1e805 Support agent switch based on state. 2023-08-10 11:43:35 -05:00
hchen2020 1543dd6ce9 File repository. 2023-08-09 23:53:22 -05:00