SlideShare a Scribd company logo
7
Most read
8
Most read
10
Most read
Vector Similarity Search
or
What is Vector Database?
Guy Korland, PhD.
CTO of Incubation, Redis
• What?
• Why?
• How?
Vector Database?
What is Vector Database?
It’s a new database vertical
Vector Database
Why do we need it?
Visual Search E-Commerce: Recommenders
Natural Language Search
Customer Service:
semantic search,
Q&A, content
recommendation,
Jobs
Recommend:
Similar products,
brands, properties
Image Recognition:
face recognition,
similar products
How?
Vector embedding
Vector representation of words + similarity (word2vec)
https://medium.com/@hari4om/word-embedding-d816f643140
Text embedding (BERT)
Semantic Similarity
Works in the space
https://github.com/facebookresearch/faiss/wiki
Benchmarks
http://ann-benchmarks.com/
• FAISS - Facebook
• ScaNN - Google
• SPTAG - Microsoft
• NGT - Yahoo!
• ANNOY - Spotify
Hashes
Bitmaps
Strings
Bit Field
Streams
Hyperloglog
Sorted Sets
Sets
Geospatial
Search Graph
TimeSeries
AI
JSON
Data-Structures Modules
BloomFilter
Redis beyond cache
Lists
Redis Enterprise core
Linear scalability HA Geo-distribution
Durability Backup & restore Tiered-memory access Security
Multi-tenant
Gears
Hashes
Bitmaps
Strings
Bit Field
Streams
Hyperloglog
Sorted Sets
Sets
Geospatial
Search Graph
TimeSeries
AI
JSON
Data-Structures Modules
BloomFilter
Redis beyond cache
Lists
Redis Enterprise core
Linear scalability HA Geo-distribution
Durability Backup & restore Tiered-memory access Security
Multi-tenant
Gears
Redis
15
Images embeddings
Texts embeddings
Videos embeddings
Stored Indexed
Redis as a database
RedisJSON RedisGraph
Hashes
Redis as a database
with
Similarity Search
RedisJSON RedisGraph
Hashes
{
"name": "MY Blue shirt"
"images": [
[0.2, 0.4, 0.3, 0.5…],
[0.1, 0.5, 0.3, 0.2…],
],
"price": 19.90,
"location": "32.05, 34.680"
}
Example
Catalog
FT.SEARCH products
"*=>[TOP_K 10 @images $BLOB]"
Example
Find me the Top 10 products most similar to given image
{
"name": "MY Blue shirt"
"images": [
[0.2, 0.4, 0.3, 0.5…],
[0.1, 0.5, 0.3, 0.2…],
],
"price": 19.90,
"location": "32.05, 34.680"
}
Example cont.
Find me the Top 10 products most similar to given image
that cost $10-$20
FT.SEARCH my_index
"@price[10 20] => [TOP_K 10 @images $BLOB]"
{
"name": "MY Blue shirt"
"images": [
[0.2, 0.4, 0.3, 0.5…],
[0.1, 0.5, 0.3, 0.2…],
],
"price": 19.90,
"location": "32.05, 34.680"
}
Example cont.
Find me the Top 10 products most similar to given image
that cost $10-$20
and the store located 10 KM from TLV
FT.SEARCH my_index
"@price[10 15] @location:[32.082, 34.780 10 km]
=> [TOP_K 10 @images $BLOB]"
{
"name": "MY Blue shirt"
"images": [
[0.2, 0.4, 0.3, 0.5…],
[0.1, 0.5, 0.3, 0.2…],
],
"price": 19.90,
"location": "32.05, 34.680"
}
Example cont.
Find me the Top 10 products most similar to given image
that cost $10-$20
and the store located 10 KM from TLV sort by Price
FT.SEARCH my_index
"@price[10 15] @location:[32.082, 34.780 10 km]
=> [TOP_K 10 @images $BLOB]"
SORTBY @price ASC
{
"name": "MY Blue shirt"
"images": [
[0.2, 0.4, 0.3, 0.5…],
[0.1, 0.5, 0.3, 0.2…],
],
"price": 19.90,
"location": "32.05, 34.680"
}
Graph?
MATCH
(:Product{image:$BLOB})<-[:in]-(:Cart)-[:in]->(p2:Product)
RETURN p2
• https://redisearch.io
- https://github.com/RediSearch/redisearch
• https://redisai.io
- https://github.com/RedisAI/VectorSimilarity
- https://redis.com/blog/build-intelligent-apps-redis-vector-similarity-search/
Where to read more? (Preview)
Thank you!
Questions?

More Related Content

PDF
Vector Databases 101 - An introduction to the world of Vector Databases
PDF
Beyond Retrieval Augmented Generation (RAG): Vector Databases
PDF
Vector databases and neural search
PDF
stackconf 2022: Introduction to Vector Search with Weaviate
PDF
Vector Databases - A Technical Primer.pdf
PDF
Vector Search for Data Scientists.pdf
PDF
Introduction to Open Source RAG and RAG Evaluation
PDF
Advanced Retrieval Augmented Generation Techniques
Vector Databases 101 - An introduction to the world of Vector Databases
Beyond Retrieval Augmented Generation (RAG): Vector Databases
Vector databases and neural search
stackconf 2022: Introduction to Vector Search with Weaviate
Vector Databases - A Technical Primer.pdf
Vector Search for Data Scientists.pdf
Introduction to Open Source RAG and RAG Evaluation
Advanced Retrieval Augmented Generation Techniques

What's hot (20)

PPTX
Introduction to Keras
PDF
MLOps Using MLflow
PPTX
Demystifying Graph Neural Networks
PDF
Build an LLM-powered application using LangChain.pdf
PDF
Knowledge Graphs and Generative AI
PDF
Using MLOps to Bring ML to Production/The Promise of MLOps
PDF
UNLEASHING INNOVATION Exploring Generative AI in the Enterprise.pdf
PPTX
Fine tuning large LMs
PDF
And then there were ... Large Language Models
PDF
LLMs Bootcamp
PPTX
MLOps in action
PDF
Exploring Opportunities in the Generative AI Value Chain.pdf
PDF
Intro to LLMs
PDF
Generative AI
PDF
Retrieval Augmented Generation in Practice: Scalable GenAI platforms with k8s...
PDF
Neural networks and deep learning
PDF
Let's talk about GPT: A crash course in Generative AI for researchers
PDF
Scaling Data and ML with Apache Spark and Feast
PDF
Landscape of AI/ML in 2023
PPTX
Using Generative AI
Introduction to Keras
MLOps Using MLflow
Demystifying Graph Neural Networks
Build an LLM-powered application using LangChain.pdf
Knowledge Graphs and Generative AI
Using MLOps to Bring ML to Production/The Promise of MLOps
UNLEASHING INNOVATION Exploring Generative AI in the Enterprise.pdf
Fine tuning large LMs
And then there were ... Large Language Models
LLMs Bootcamp
MLOps in action
Exploring Opportunities in the Generative AI Value Chain.pdf
Intro to LLMs
Generative AI
Retrieval Augmented Generation in Practice: Scalable GenAI platforms with k8s...
Neural networks and deep learning
Let's talk about GPT: A crash course in Generative AI for researchers
Scaling Data and ML with Apache Spark and Feast
Landscape of AI/ML in 2023
Using Generative AI
Ad

Similar to Vector database (20)

PDF
Voxxed Days Trieste 2024 - Unleashing the Power of Vector Search and Semantic...
PDF
Red Hat Summit Connect 2023 - Redis Enterprise, the engine of Generative AI
PDF
06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases
PPTX
Vector_Databases_Presentation_in_modern_era.pptx
PDF
Thought Vectors and Knowledge Graphs in AI-powered Search
DOCX
Fast nearest neighbor search with keywords
PDF
Maximizing AI Performance with Vector Databases: A Comprehensive Guide
PDF
An introduction to Elasticsearch's advanced relevance ranking toolbox
PPTX
Reasesrty djhjan S - explanation required.pptx
PDF
Searching in metric spaces
PDF
09-03-2024_UnstructuredDataAndAIDiscussion.pdf
PDF
Vectors are the new JSON in PostgreSQL (SCaLE 21x)
PDF
Duplicates everywhere (Berlin)
PPT
similarities-knn-1.ppt
DOCX
JAVA 2013 IEEE DATAMINING PROJECT Fast nearest neighbor search with keywords
DOCX
Fast nearest neighbor search with keywords
PPTX
Image-Based E-Commerce Product Discovery: A Deep Learning Case Study - Denis ...
PDF
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
PDF
Information retrieval to recommender systems
PDF
An introduction to Elasticsearch's advanced relevance ranking toolbox
Voxxed Days Trieste 2024 - Unleashing the Power of Vector Search and Semantic...
Red Hat Summit Connect 2023 - Redis Enterprise, the engine of Generative AI
06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases
Vector_Databases_Presentation_in_modern_era.pptx
Thought Vectors and Knowledge Graphs in AI-powered Search
Fast nearest neighbor search with keywords
Maximizing AI Performance with Vector Databases: A Comprehensive Guide
An introduction to Elasticsearch's advanced relevance ranking toolbox
Reasesrty djhjan S - explanation required.pptx
Searching in metric spaces
09-03-2024_UnstructuredDataAndAIDiscussion.pdf
Vectors are the new JSON in PostgreSQL (SCaLE 21x)
Duplicates everywhere (Berlin)
similarities-knn-1.ppt
JAVA 2013 IEEE DATAMINING PROJECT Fast nearest neighbor search with keywords
Fast nearest neighbor search with keywords
Image-Based E-Commerce Product Discovery: A Deep Learning Case Study - Denis ...
WMF 2024 - Unlocking the Future of Data Powering Next-Gen AI with Vector Data...
Information retrieval to recommender systems
An introduction to Elasticsearch's advanced relevance ranking toolbox
Ad

More from Guy Korland (18)

PDF
Increasing the Accuracy of LLM Applications with Graph-based RAG_ Practical I...
PDF
GraphRAG is All You need? LLM & Knowledge Graph
PDF
FalkorDB - Fastest way to your Knowledge
PDF
Redis Developer Day TLV - Redis Stack & RedisInsight
PDF
Using Redis As Your Online Feature Store: 2021 Highlights. 2022 Directions
PPTX
The evolution of DBaaS - israelcloudsummit
PPTX
From kv to multi model RedisDay NYC19
PDF
From Key-Value to Multi-Model - RedisConf19
ODP
Paractical Solutions for Multicore Programming
PPTX
Crafting a Ready-to-Go STM
PPT
Building Scalable Producer-Consumer Pools based on Elimination-Diraction Trees
PPT
Lowering STM Overhead with Static Analysis
ODP
Cloudify 10m
ODP
Open stack bigdata NY cloudcamp
PPTX
The Open PaaS Stack
PPTX
Quasi-Linearizability: relaxed consistency for improved concurrency.
PPT
The Next Generation Application Server – How Event Based Processing yields s...
PPT
Deuce STM - CMP'09
Increasing the Accuracy of LLM Applications with Graph-based RAG_ Practical I...
GraphRAG is All You need? LLM & Knowledge Graph
FalkorDB - Fastest way to your Knowledge
Redis Developer Day TLV - Redis Stack & RedisInsight
Using Redis As Your Online Feature Store: 2021 Highlights. 2022 Directions
The evolution of DBaaS - israelcloudsummit
From kv to multi model RedisDay NYC19
From Key-Value to Multi-Model - RedisConf19
Paractical Solutions for Multicore Programming
Crafting a Ready-to-Go STM
Building Scalable Producer-Consumer Pools based on Elimination-Diraction Trees
Lowering STM Overhead with Static Analysis
Cloudify 10m
Open stack bigdata NY cloudcamp
The Open PaaS Stack
Quasi-Linearizability: relaxed consistency for improved concurrency.
The Next Generation Application Server – How Event Based Processing yields s...
Deuce STM - CMP'09

Recently uploaded (20)

PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Encapsulation theory and applications.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Cloud computing and distributed systems.
PDF
KodekX | Application Modernization Development
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Modernizing your data center with Dell and AMD
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
The AUB Centre for AI in Media Proposal.docx
Encapsulation theory and applications.pdf
Spectral efficient network and resource selection model in 5G networks
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
“AI and Expert System Decision Support & Business Intelligence Systems”
Empathic Computing: Creating Shared Understanding
Cloud computing and distributed systems.
KodekX | Application Modernization Development
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Advanced methodologies resolving dimensionality complications for autism neur...
Modernizing your data center with Dell and AMD
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Network Security Unit 5.pdf for BCA BBA.
NewMind AI Weekly Chronicles - August'25 Week I
Reach Out and Touch Someone: Haptics and Empathic Computing

Vector database