From the course: Level up LLM applications development with LangChain and OpenAI
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Challenge: Create a multitask agent
From the course: Level up LLM applications development with LangChain and OpenAI
Challenge: Create a multitask agent
(upbeat music) - [Instructor] So what I'd like to do is to run another quick demo with you. So let's go check out here. So we're going to run it actually from this main entry point. So you see that I have already added to the scope this run agent, and we're going to use this interface to interact with the agents. Let's run it. Okay, so this is actually running this example that we should actually put in a comment for the next time around, but that's okay. So let's start by selecting the first option and we want to ask a more practical question like, "How to create a vector store?" So the first thing that we're going to notice is that we're going to get an output, which is actually first, an object. So in order to access the response itself, so we're just going to make a few changes. I'm going to put it here. So we're going to read the answer. So that's the output first. And then we want to access actually the output for the answer like this. Okay, so let's try that again a second…
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)
-
-
-