mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-30 10:23:30 +00:00
docs: runnable docstring space (#25106)
This commit is contained in:
parent
3abf1b6905
commit
2c798622cd
@ -108,8 +108,8 @@ Other = TypeVar("Other")
|
|||||||
class Runnable(Generic[Input, Output], ABC):
|
class Runnable(Generic[Input, Output], ABC):
|
||||||
"""A unit of work that can be invoked, batched, streamed, transformed and composed.
|
"""A unit of work that can be invoked, batched, streamed, transformed and composed.
|
||||||
|
|
||||||
Key Methods
|
Key Methods
|
||||||
===========
|
===========
|
||||||
|
|
||||||
- **invoke/ainvoke**: Transforms a single input into an output.
|
- **invoke/ainvoke**: Transforms a single input into an output.
|
||||||
- **batch/abatch**: Efficiently transforms multiple inputs into outputs.
|
- **batch/abatch**: Efficiently transforms multiple inputs into outputs.
|
||||||
|
Loading…
Reference in New Issue
Block a user