Skip to Main Content
Building Data-Driven Applications with LlamaIndex
book

Building Data-Driven Applications with LlamaIndex

by Andrei Gheorghiu
May 2024
Intermediate to advanced content levelIntermediate to advanced
368 pages
10h 7m
English
Packt Publishing
Content preview from Building Data-Driven Applications with LlamaIndex

6

Querying Our Data, Part 1 – Context Retrieval

The focus of this chapter will be on understanding the querying capabilities of LlamaIndex in an RAG workflow. We’ll be covering the overall working of the querying system, mostly focusing on the retrieval capabilities of the framework.

Here are the main sections that will be covered in this chapter:

  • Learning about query mechanics – an overview
  • Understanding the basic retrievers
  • Building more advanced retrieval mechanisms
  • Increasing efficiency with asynchronous retrieval
  • Working with metadata filters, tools, and selectors
  • Transforming queries and generating sub-queries
  • Understanding the concepts of dense and sparse retrieval

Technical requirements

For this chapter, you will need to install the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Developing Apps with GPT-4 and ChatGPT

Developing Apps with GPT-4 and ChatGPT

Olivier Caelen, Marie-Alice Blete
Prompt Engineering for LLMs

Prompt Engineering for LLMs

John Berryman, Albert Ziegler

Publisher Resources

ISBN: 9781835089507Supplemental Content