Nuno Campos
948ab93563
Lint
2023-10-23 10:30:28 +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 and GitHub
c7bf502dd4
Merge pull request #8 from langchain-ai/nc/pregel
...
Nc/pregel
2023-10-22 17:17:34 +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
Nuno Campos
4312ac07e4
Split channels into separate files
2023-10-19 12:26:09 +01:00
Nuno Campos
b07f8d87e5
Simplify api of context mngr channel
2023-10-19 12:13:18 +01:00
Nuno Campos
73a5ff0044
Add comments
2023-10-18 19:44:14 +01:00
Nuno Campos
bfc122412c
Use it
2023-10-18 18:59:22 +01:00
Nuno Campos
28131eae7a
Add .join() for subscribe_to_each()
2023-10-18 18:59:18 +01:00
Nuno Campos
9f16191c75
Add recursive web loader example
2023-10-18 18:44:40 +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
Nuno Campos
285577fc77
Make channels context managers, Add async tests, Add concurrency tests
2023-10-18 12:23:30 +01:00
Nuno Campos
b146b0dd7e
Update readme
2023-10-16 14:08:35 +01:00
Nuno Campos
837c9c9af2
Add validation, finish porting tests to new api
2023-10-16 13:52:35 +01:00
Nuno Campos
07c9199d18
join(question, draft) -> join([question, draft])
2023-10-16 10:47:20 +01:00
Nuno Campos
5c1619076d
Update API
2023-10-13 19:07:53 +01:00
Nuno Campos
6633d58521
python <3.11 compat
2023-10-13 14:18:51 +01:00
Nuno Campos
725c416511
Improve docstrings
2023-10-13 14:17:36 +01:00
Nuno Campos
25dce1ff58
Update readme
2023-10-13 14:03:42 +01:00
Nuno Campos
065a1a6e15
Fix async impl
2023-10-13 13:45:04 +01:00
Nuno Campos
12c203f3a3
Add tests
2023-10-13 13:37:39 +01:00
Nuno Campos
8a35811262
Lint
2023-10-13 12:27:03 +01:00
Nuno Campos
2b04283c96
It works!
2023-10-13 12:26:26 +01:00
Nuno Campos
c5d42ed09b
Update mypy and langchain
2023-10-13 12:26:11 +01:00
Nuno Campos
851e8f88dd
WIP
2023-10-11 18:32:02 +01:00
Nuno Campos
bd8260760d
Update readme
2023-10-05 11:11:10 +01:00
Nuno Campos
4950c2405a
0.0.3
v0.0.3
2023-10-05 10:48:54 +01:00
Nuno Campos
128fabb3cd
Lint
2023-10-05 10:30:40 +01:00
Nuno Campos
138aa4bd49
Cherry pick bugfix from nc/combined-batch branch
2023-10-05 10:29:27 +01:00
Nuno Campos
5e416347e7
Move over more tests from nc/combined-batch branch
2023-10-05 10:26:36 +01:00
Nuno Campos and GitHub
880917cd2b
Merge pull request #5 from langchain-ai/nc/single-out-message
...
Nc/single out message
2023-10-05 10:00:47 +01:00
Nuno Campos
d19f4999b8
Chat listen() and iterate() to use PubSubMessage wrapper instead of raw value
2023-09-19 14:30:47 +01:00
Nuno Campos
92da3505d3
Implement new semantics for OUT topic
...
- The first message published to OUT ends the computation
- .invoke() returns a single value or None
- .stream() returns iterator of log entries, including the final OUT entry, if any
- Remove .peek() method
2023-09-19 14:09:59 +01:00
Nuno Campos
3751b35bd9
Lint
2023-09-19 12:44:37 +01:00
Nuno Campos
a25b4e584e
Rename keys in LogMessage
2023-09-19 11:19:18 +01:00
Nuno Campos
62f27eb8c4
Simpler init syntax for pubsub
2023-09-19 11:12:02 +01:00
Nuno Campos
c2a5f54121
Rename state_id to correlation_id
2023-09-19 11:05:37 +01:00
Nuno Campos
02b5c77943
Add comment
2023-09-15 11:59:24 +01:00
Nuno Campos
0e80272764
Support any nr of parts in full_topic_name
2023-09-15 11:59:11 +01:00
Nuno Campos
60b1fe619c
Return input from RunnablePublisherEach
2023-09-15 11:58:39 +01:00