You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/core/langchain_core/runnables
Quy Tang 42822484ef
core(minor): Implement stream and astream for RunnableBranch (#14805)
* This PR adds `stream` implementations to Runnable Branch.
* Runnable Branch still does not support `transform` so it'll break streaming if it happens in middle or end of sequence, but will work if happens at beginning of sequence.
* Fixes use the async callback manager for async methods
* Handle BaseException rather than Exception, so more errors could be logged as errors when they are encountered


---------

Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
9 months ago
..
__init__.py Move runnable context to beta (#14507) 10 months ago
base.py Move runnable context to beta (#14507) 10 months ago
branch.py core(minor): Implement stream and astream for RunnableBranch (#14805) 9 months ago
config.py Separate out langchain_core package (#13577) 10 months ago
configurable.py docstrings `core` update (#14871) 9 months ago
fallbacks.py manual mapping (#14422) 10 months ago
history.py core[patch]: Fix runnable with message history (#14629) 9 months ago
passthrough.py manual mapping (#14422) 10 months ago
retry.py manual mapping (#14422) 10 months ago
router.py manual mapping (#14422) 10 months ago
utils.py [core/minor] Runnables: Implement a context api (#14046) 10 months ago