mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-23 23:29:21 +00:00
docs: Grammar and Typo update for Runnable Conceptual guide (#28777)
This commit is contained in:
parent
0b1359801e
commit
85c3bc1bbd
@ -114,7 +114,7 @@ Please see the [Configurable Runnables](#configurable-runnables) section for mor
|
|||||||
| Method | Description |
|
| Method | Description |
|
||||||
|-------------------------|------------------------------------------------------------------|
|
|-------------------------|------------------------------------------------------------------|
|
||||||
| `get_input_schema` | Gives the Pydantic Schema of the input schema for the Runnable. |
|
| `get_input_schema` | Gives the Pydantic Schema of the input schema for the Runnable. |
|
||||||
| `get_output_chema` | Gives the Pydantic Schema of the output schema for the Runnable. |
|
| `get_output_schema` | Gives the Pydantic Schema of the output schema for the Runnable. |
|
||||||
| `config_schema` | Gives the Pydantic Schema of the config schema for the Runnable. |
|
| `config_schema` | Gives the Pydantic Schema of the config schema for the Runnable. |
|
||||||
| `get_input_jsonschema` | Gives the JSONSchema of the input schema for the Runnable. |
|
| `get_input_jsonschema` | Gives the JSONSchema of the input schema for the Runnable. |
|
||||||
| `get_output_jsonschema` | Gives the JSONSchema of the output schema for the Runnable. |
|
| `get_output_jsonschema` | Gives the JSONSchema of the output schema for the Runnable. |
|
||||||
@ -323,7 +323,7 @@ multiple Runnables and you need to add custom processing logic in one of the ste
|
|||||||
|
|
||||||
There are two ways to create a custom Runnable from a function:
|
There are two ways to create a custom Runnable from a function:
|
||||||
|
|
||||||
* `RunnableLambda`: Use this simple transformations where streaming is not required.
|
* `RunnableLambda`: Use this for simple transformations where streaming is not required.
|
||||||
* `RunnableGenerator`: use this for more complex transformations when streaming is needed.
|
* `RunnableGenerator`: use this for more complex transformations when streaming is needed.
|
||||||
|
|
||||||
See the [How to run custom functions](/docs/how_to/functions) guide for more information on how to use `RunnableLambda` and `RunnableGenerator`.
|
See the [How to run custom functions](/docs/how_to/functions) guide for more information on how to use `RunnableLambda` and `RunnableGenerator`.
|
||||||
|
Loading…
Reference in New Issue
Block a user