Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Neural Search - From Prototype to Production with Jina
  • Table Of Contents Toc
  • Feedback & Rating feedback
Neural Search - From Prototype to Production with Jina

Neural Search - From Prototype to Production with Jina

By : Bo Wang, Jina AI, Cristian Mitroi, Feng Wang, Shubham Saboo, Susana Guzmán
4.5 (6)
close
close
Neural Search - From Prototype to Production with Jina

Neural Search - From Prototype to Production with Jina

4.5 (6)
By: Bo Wang, Jina AI, Cristian Mitroi, Feng Wang, Shubham Saboo, Susana Guzmán

Overview of this book

Search is a big and ever-growing part of the tech ecosystem. Traditional search, however, has limitations that are hard to overcome because of the way it is designed. Neural search is a novel approach that uses the power of machine learning to retrieve information using vector embeddings as first-class citizens, opening up new possibilities of improving the results obtained through traditional search. Although neural search is a powerful tool, it is new and finetuning it can be tedious as it requires you to understand the several components on which it relies. Jina fills this gap by providing an infrastructure that reduces the time and complexity involved in creating deep learning–powered search engines. This book will enable you to learn the fundamentals of neural networks for neural search, its strengths and weaknesses, as well as how to use Jina to build a search engine. With the help of step-by-step explanations, practical examples, and self-assessment questions, you'll become well-versed with the basics of neural search and core Jina concepts, and learn to apply this knowledge to build your own search engine. By the end of this deep learning book, you'll be able to make the most of Jina's neural search design patterns to build an end-to-end search solution for any modality.
Table of Contents (13 chapters)
close
close
1
Part 1: Introduction to Neural Search Fundamentals
5
Part 2: Introduction to Jina Fundamentals
8
Part 3: How to Use Jina for Neural Search

Introducing multi-level granularity

In this section, we will discuss how Jina can capture and leverage the hierarchical structure of real-life data. In order to follow along with the existing code, check the chapter’s code for a folder named multires-lyrics-search. This is the example we will be referring to in this section.

This example relies on the Document type’s capacity to hold chunks (child documents) and refer to a specific parent. Using this structure, you can compose advanced arbitrary level hierarchies of documents within documents. This mimics various real-life data-related problems. Examples could be patches of images, sentences of a paragraph, video clips of a longer movie, and so on.

See the following code for how to perform this with Jina’s Document API:

from jina import Document
 document = Document() 
chunk1 = Document(text='this is the first chunk') 
chunk2 = Document(text='this is the second chunk') 
document.chunks...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY