Book Image

Vector Search for Practitioners with Elastic

By : Bahaaldine Azarmi, Jeff Vestal
Book Image

Vector Search for Practitioners with Elastic

By: Bahaaldine Azarmi, Jeff Vestal

Overview of this book

While natural language processing (NLP) is largely used in search use cases, this book aims to inspire you to start using vectors to overcome equally important domain challenges like observability and cybersecurity. The chapters focus mainly on integrating vector search with Elastic to enhance not only their search but also observability and cybersecurity capabilities. The book, which also features a foreword written by the founder of Elastic, begins by teaching you about NLP and the functionality of Elastic in NLP processes. Here you’ll delve into resource requirements and find out how vectors are stored in the dense-vector type along with specific page cache requirements for fast response times. As you advance, you’ll discover various tuning techniques and strategies to improve machine learning model deployment, including node scaling, configuration tuning, and load testing with Rally and Python. You’ll also cover techniques for vector search with images, fine-tuning models for improved performance, and the use of clip models for image similarity search in Elasticsearch. Finally, you’ll explore retrieval-augmented generation (RAG) and learn to integrate ChatGPT with Elasticsearch to leverage vectorized data, ELSER's capabilities, and RRF's refined search mechanism. By the end of this NLP book, you’ll have all the necessary skills needed to implement and optimize vector search in your projects with Elastic.
Table of Contents (17 chapters)
Free Chapter
1
Part 1:Fundamentals of Vector Search
4
Part 2: Advanced Applications and Performance Optimization
7
Part 3: Specialized Use Cases
12
Part 4: Innovative Integrations and Future Directions

Part 1:Fundamentals of Vector Search

Explore the foundational elements of vector search with Elastic in this section. Beginning with an introduction to vectors and embeddings, this part lays the groundwork to understand their role in data representation and search. This part is essential for grasping the basic concepts and methodologies that form the bedrock of advanced vector search techniques, tailored for newcomers and experienced practitioners alike.

This part has the following chapters:

  • Chapter 1, Introduction to Vectors and Embeddings
  • Chapter 2, Getting Started with Vector Search in Elastic