Skip to content

The agent engineering platform.

Small changes to runnable docs (#11293)

Nuno Campos1cbe7f545021
diff --git a/docs/extras/expression_language/interface.ipynb b/docs/extras/expression_language/interface.ipynb
index c47800ecad..47a3efaf82 100644
--- a/docs/extras/expression_language/interface.ipynb
+++ b/docs/extras/expression_language/interface.ipynb
@@ -34,7 +34,9 @@
"| --- | --- |\n",
"|Prompt|Dictionary|\n",
"|Retriever|Single string|\n",
- "|Model| Single string, list of chat messages or a PromptValue|\n",
+ "|LLM, ChatModel| Single string, list of chat messages or a PromptValue|\n",
+ "|Tool|Single string, or dictionary, depending on the tool|\n",
+ "|OutputParser|The output of an LLM or ChatModel|\n",
"\n",
"The output type also varies by component:\n",
"\n",
@@ -44,6 +46,8 @@
"| ChatModel | ChatMessage |\n",
"| Prompt | PromptValue |\n",
"| Retriever | List of documents |\n",
+ "| Tool | Depends on the tool |\n",
+ "| OutputParser | Depends on the parser |\n",
"\n",
"Let's take a look at these methods! To do so, we'll create a super simple PromptTemplate + ChatModel chain."
]
@@ -303,7 +307,7 @@
"source": [
"## Parallelism\n",
"\n",
- "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."
+ "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."
]
},
{