Skip to content

The agent engineering platform.

DOCS: fixed import error for BashOutputParser (#13680)

Guangya Liubb18b0266ead
diff --git a/cookbook/llm_bash.ipynb b/cookbook/llm_bash.ipynb
index 9f97d6c3a9..bbc61bc899 100644
--- a/cookbook/llm_bash.ipynb
+++ b/cookbook/llm_bash.ipynb
@@ -69,7 +69,7 @@
"metadata": {},
"outputs": [],
"source": [
- "from langchain.chains.llm_bash.prompt import BashOutputParser\n",
+ "from langchain_experimental.llm_bash.prompt import BashOutputParser\n",
"from langchain.prompts.prompt import PromptTemplate\n",
"\n",
"_PROMPT_TEMPLATE = \"\"\"If someone asks you to perform a task, your job is to come up with a series of bash commands that will perform the task. There is no need to put \"#!/bin/bash\" in your answer. Make sure to reason step by step, using this format:\n",