Commit Graph
15 Commits
Author SHA1 Message Date
Nuno Campos 4fd90f8ad6 Rename BaseChannel.empty() to BaseChannel.from_checkpoint()
- clearer name
- channels with complex data structures in checkpoint (eg a set or list) now copy the checkpointed data structures before creating the new channel
2024-03-31 09:25:08 -07:00
Nuno Campos e441990f92 Rename 2024-01-07 19:39:10 -08: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 56a38ee859 Change Channel.checkpoint() to return any python value, add checkpoint tests 2023-11-14 11:17:39 +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 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 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 b07f8d87e5 Simplify api of context mngr channel 2023-10-19 12:13:18 +01:00
Nuno Campos bfb3b374c2 Add more channel types 2023-10-18 18:44:29 +01:00
Nuno Campos d46a20377b Remove leading underscore from channel methods 2023-10-18 17:11:22 +01:00
Nuno Campos 0048704af9 Update context manager interface for channels, add channel that exposes a context manager 2023-10-18 17:05:38 +01:00
Nuno Campos c933f66a04 Implement input_schema, output_schema, add tests for channels, update api for channels to pass type as regular arg 2023-10-18 13:32:41 +01:00