Commit Graph
104 Commits
Author SHA1 Message Date
Nuno Campos de599be8a1 Rename chains to nodes 2024-01-06 12:43:15 -08:00
Nuno Campos 17cd659533 ... 2024-01-05 18:22:46 -08:00
Jake RachleffandNuno Campos 51a538c6fc update 2024-01-05 16:01:08 -08:00
Jake RachleffandNuno Campos b6e3cd9044 update graph to use more graph like syntax 2024-01-05 16:01:08 -08:00
Harrison ChaseandNuno Campos 0f6ea1fe4b cr 2024-01-05 16:01:08 -08:00
Harrison ChaseandNuno Campos 6a93a68fc3 start 2024-01-05 16:01:08 -08:00
Nuno Campos c399dec257 In .step() expose only values of lastvalue channels 2024-01-03 18:07:50 -08:00
Nuno Campos 58b9502872 Update to langchain core 2023-12-28 15:23:13 -08:00
Nuno Campos 476cc90ef7 Lint 2023-12-28 15:10:47 -08:00
Nuno Campos b8de895f6b Lint 2023-12-27 20:06:49 -08:00
Nuno Campos 82741a6dcc Implement .step() and .astep() 2023-12-27 19:57:54 -08:00
Nuno Campos d1572afd49 Update _atransform 2023-12-26 20:04:00 -08:00
Nuno Campos b1b68cde94 WIP 2023-12-26 19:05:21 -08:00
Nuno Campos 57881dee6d Update langchain 2023-12-26 17:57:12 -08:00
Nuno Campos dd5b100f3c Update langchain 2023-11-29 09:59:47 +00:00
Nuno Campos 9a2ddb30d7 Add test 2023-11-28 14:06:51 +00:00
Nuno Campos 99b712ca5f Change .join() implementation to have non-subscribed channels as input arg 2023-11-28 11:26:46 +00:00
Nuno Campos 80477b27b8 Export checkpoint from init 2023-11-28 09:56:21 +00:00
Nuno Campos 877a1451cb Update to new langchain release 2023-11-28 09:21:16 +00:00
Nuno Campos eef4c015d6 Allow passing values directly to Channel.write_toi 2023-11-15 16:21:09 +00:00
Nuno Campos f04b2cff5d Lint 2023-11-15 15:30:45 +00:00
Nuno Campos b90a62a00d Add concept of reserved channels (ie. channels updated by Pregel), Add a reserved channel for is_last_step 2023-11-15 15:16:18 +00:00
Nuno Campos 682e7d175d Add tests for checkpointing 2023-11-14 12:54:23 +00:00
Nuno Campos cec6ba4963 Change binop to init value if possible 2023-11-14 12:38:17 +00:00
Nuno Campos f96ebb3357 Implement checkpoints 2023-11-14 12:14:18 +00:00
Nuno Campos de4a5ed418 Update langchain, implement config_specs 2023-11-14 11:36:30 +00:00
Nuno Campos b266b73ab9 Make channel managers aware of checkpoints 2023-11-14 11:27:31 +00:00
Nuno Campos 56a38ee859 Change Channel.checkpoint() to return any python value, add checkpoint tests 2023-11-14 11:17:39 +00:00
Nuno Campos 05c89338a8 Expose imperative channel write api 2023-11-09 20:43:20 +00:00
Nuno Campos 78e1b4d9d0 Better fix 2023-11-09 20:18:44 +00:00
Nuno Campos 15f1af7403 Fix piping bug 2023-11-09 20:14:39 +00:00
Nuno Campos cb39c74898 Comment 2023-11-09 10:56:13 +00:00
Nuno Campos a784d69487 Compat with py 3.10 2023-11-07 23:33:54 +00:00
Nuno Campos 2cf92cdad7 Add missing channel creation 2023-11-04 17:58:19 +00:00
Nuno Campos 7f76fbb699 Create a Topic channel, Make LastValue the default channel if not specified, Add default input and output keys
- Topic channel combines the features of Inbox, Archive, UniqueInbox, UniqueArchive, which have been removed.
2023-11-04 17:40:12 +00:00
Nuno Campos 124722c0c8 Rename Channel classes 2023-11-04 14:29:48 +00:00
Nuno Campos dbe8c1362f Move subscribe/write cls methods to Channel 2023-10-23 15:42:51 +01:00
Nuno Campos 577bf5205a Rename Context channel 2023-10-23 15:26:41 +01:00
Nuno Campos 14d84825da Add some intro docs to readme 2023-10-23 15:06:07 +01:00
Nuno Campos d0df4103cd Add doc strings for all channels, small update to names/semantics 2023-10-23 14:12:44 +01:00
Nuno Campos 49ff5e2eab Implement reduce chain 2023-10-23 12:01:35 +01:00
Nuno Campos 8284a6b6ea Rename send_to to write_to 2023-10-23 10:29:46 +01:00
Nuno Campos 274600436b Remove "main" chain, Improve debug logging, Remove max_steps from send_to, Add retries to recursive web loader 2023-10-23 10:26:10 +01:00
Nuno Campos 9dfffe5fc0 Add an optional "main" chain which has implicit input and output channels 2023-10-22 21:12:30 +01:00
Nuno Campos 82d927a421 Lint 2023-10-22 19:42:54 +01:00
Nuno Campos abd3786870 Add debug logging 2023-10-22 19:41:36 +01:00
Nuno Campos f3291ca0f6 Add back .join() method removed by accident 2023-10-22 19:41:11 +01:00
Nuno Campos f0e31a8ffa Split into smaller files 2023-10-22 19:07:10 +01:00
Nuno Campos 8342e5ca93 Update langchain 2023-10-22 17:16:22 +01:00
Nuno Campos 8adfa69405 Implement dict input, add more tests 2023-10-19 12:57:26 +01:00