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.

Using agents to perform actions in chains

Using agents to perform actions in chains

- [Instructor] The OpenAI tools allow to create agents with specific functions, meaning that you can use multiple agents with multiple actions and tools within your application. And by using tools, you can give agents the ability to query data from two different sources of information. For example, by using a vector search index or the web. So by searching queries from an internet data source. So we're going to have a quick preview on our next projects, and we're going to be using the same vector search index that we created with MongoDB Atlas. And that could give us access to documents from a PDF document. So this one. And we're going to be using also an internet data source. So in the next example, we're going to be able to give the language model access to a specific context. And we also give the same language model the options to search the web if the dataset is not sufficient or is lacking information about the user query. So in the next demo, we use vector search indexed with…

Contents