diff --git a/cookbook/llm_bash.ipynb b/cookbook/llm_bash.ipynb index 61a56f1783..d7ff0c51cb 100644 --- a/cookbook/llm_bash.ipynb +++ b/cookbook/llm_bash.ipynb @@ -52,7 +52,7 @@ "\n", "bash_chain = LLMBashChain.from_llm(llm, verbose=True)\n", "\n", - "bash_chain.run(text)" + "bash_chain.invoke(text)" ] }, { @@ -135,7 +135,7 @@ "\n", "text = \"Please write a bash script that prints 'Hello World' to the console.\"\n", "\n", - "bash_chain.run(text)" + "bash_chain.invoke(text)" ] }, { @@ -190,7 +190,7 @@ "\n", "text = \"List the current directory then move up a level.\"\n", "\n", - "bash_chain.run(text)" + "bash_chain.invoke(text)" ] }, { @@ -231,7 +231,7 @@ ], "source": [ "# Run the same command again and see that the state is maintained between calls\n", - "bash_chain.run(text)" + "bash_chain.invoke(text)" ] } ],