From the course: Level up LLM applications development with LangChain and OpenAI
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Bind tools and create agent
From the course: Level up LLM applications development with LangChain and OpenAI
Bind tools and create agent
- [Instructor] So after properly defining tools and create the prompts that we use to then execute the proper tools, so the multiple tools for one agent, we need to create this agent. So we can use the tools that allow the language models to request more than one function. And so to set up an OpenAI function's agents, we're going to use this special syntax. So to first bind the tools, that's going to be language models with the tools. And then right after that we can create the agents. So let's begin with this first part, which is to bind the tools to the language models. And I'm going to put an s, because it could be multiple tools, more than one. And so next we see how to create the agents in order to put the pieces together. And we're going to include here you'll see an intermediate step to know which action to execute. So first, we're going to provide with an input. And so next, using this format to OpenAI tools messages, it's going to then provide with this intermediate step to…
Contents
-
-
-
-
-
-
-
-
-
-
(Locked)
Using agents to perform actions in chains1m 36s
-
(Locked)
Define tools5m 37s
-
(Locked)
Select the perfect prompt1m 12s
-
(Locked)
Bind tools and create agent2m 19s
-
(Locked)
Create and run the agent executor4m 41s
-
(Locked)
Challenge: Create a multitask agent5m 31s
-
(Locked)
Solution: Define tools and functions6m 9s
-
(Locked)
-
-
-