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.

Challenge: Retrieval with multiple data sources

Challenge: Retrieval with multiple data sources

(bright music) - [Instructor] Question answering chatbots are one of the most powerful applications enabled by the language models. And for the next challenge, we're going to build a Q&A chatbot that can handle multiple retrievers. So let's discover the starter projects. Here, you're going to see that we're going to use the same search class in order to search for informations about a clothing category. So every output generated will have this format with one attribute, which is query, to indicate the query to look up, and then another attribute category to indicate which category it is, either shoes or shirts. So let's go check out also the data sources that we're going to find within this docs directory. So that is the same list of frequently asked questions for Red30 shoes. And we're going to find the same list, but this time, for another type of business, another category, which is for shirts. And so, depending on the user query, we're going to select the right retriever, the…

Contents