"You can pass a Runnable into an agent. Make sure you have `langchainhub` installed: `pip install langchainhub`"
]
]
},
},
{
{
@ -98,7 +98,7 @@
"source": [
"source": [
"Building an agent from a runnable usually involves a few things:\n",
"Building an agent from a runnable usually involves a few things:\n",
"\n",
"\n",
"1. Data processing for the intermediate steps. These need to represented in a way that the language model can recognize them. This should be pretty tightly coupled to the instructions in the prompt\n",
"1. Data processing for the intermediate steps. These need to be represented in a way that the language model can recognize them. This should be pretty tightly coupled to the instructions in the prompt\n",