Skip to content

Commit 1cbe7f5

Browse files
authored
Small changes to runnable docs (#11293)
<!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** a description of the change, - **Issue:** the issue # it fixes (if applicable), - **Dependencies:** any dependencies required for this change, - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. -->
1 parent 8eec43e commit 1cbe7f5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/extras/expression_language/interface.ipynb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
"| --- | --- |\n",
3535
"|Prompt|Dictionary|\n",
3636
"|Retriever|Single string|\n",
37-
"|Model| Single string, list of chat messages or a PromptValue|\n",
37+
"|LLM, ChatModel| Single string, list of chat messages or a PromptValue|\n",
38+
"|Tool|Single string, or dictionary, depending on the tool|\n",
39+
"|OutputParser|The output of an LLM or ChatModel|\n",
3840
"\n",
3941
"The output type also varies by component:\n",
4042
"\n",
@@ -44,6 +46,8 @@
4446
"| ChatModel | ChatMessage |\n",
4547
"| Prompt | PromptValue |\n",
4648
"| Retriever | List of documents |\n",
49+
"| Tool | Depends on the tool |\n",
50+
"| OutputParser | Depends on the parser |\n",
4751
"\n",
4852
"Let's take a look at these methods! To do so, we'll create a super simple PromptTemplate + ChatModel chain."
4953
]
@@ -303,7 +307,7 @@
303307
"source": [
304308
"## Parallelism\n",
305309
"\n",
306-
"Let's take a look at how LangChain Expression Language support parralel requests as much as possible. For example, when using a RunnableMapping (often written as a dictionary) it executes each element in parralel."
310+
"Let's take a look at how LangChain Expression Language support parallel requests as much as possible. For example, when using a RunnableMap (often written as a dictionary) it executes each element in parallel."
307311
]
308312
},
309313
{

0 commit comments

Comments
 (0)