| 1 | **Vector Search: Efficient Retrieval ππ** |
| 2 | ==================================================================== |
| 3 | |
| 4 | Vector search with LanceDB, is a solution for efficient and accurate similarity searches in large datasets π. |
| 5 | |
| 6 | **Vector Search Capabilities in LanceDBπ** |
| 7 | |
| 8 | LanceDB implements vector search algorithms for efficient document retrieval and analysis π. This enables fast and accurate discovery of relevant documents, leveraging dense vector representations π€. The platform supports scalable indexing and querying of high-dimensional vector spaces, facilitating precise document matching and retrieval π. |
| 9 | |
| 10 | | **Vector Search** | **Description** | **Links** | |
| 11 | |:-----------------|:---------------|:---------| |
| 12 | | **Inbuilt Hybrid Search π** | Perform hybrid search in **LanceDB** by combining the results of semantic and full-text search via a reranking algorithm of your choice π | [][inbuilt_hybrid_search_github] <br>[][inbuilt_hybrid_search_colab] | |
| 13 | | **Hybrid Search with BM25 and LanceDB π‘** | Use **Synergizes BM25's** keyword-focused precision (term frequency, document length normalization, bias-free retrieval) with **LanceDB's** semantic understanding (contextual analysis, query intent alignment) for nuanced search results in complex datasets π | [][BM25_github] <br>[][BM25_colab] <br>[][BM25_ghost] | |
| 14 | | **NER-powered Semantic Search π** | Extract and identify essential information from text with Named Entity Recognition **(NER)** methods: Dictionary-Based, Rule-Based, and Deep Learning-Based, to accurately extract and categorize entities, enabling precise semantic search results ποΈ | [][NER_github] <br>[][NER_colab] <br>[][NER_ghost]| |
| 15 | | **Audio Similarity Search using Vector Embeddings π΅** | Create vector **embeddings of audio files** to find similar audio content, enabling efficient audio similarity search and retrieval in **LanceDB's** vector store π» |[][audio_search_github] <br>[][audio_search_colab] <br>[][audio_search_python]| |
| 16 | | **LanceDB Embeddings API: Multi-lingual Semantic Search π** | Build a universal semantic search table with **LanceDB's Embeddings API**, supporting multiple languages (e.g., English, French) using **cohere's** multi-lingual model, for accurate cross-lingual search results π | [][mls_github] <br>[][mls_colab] <br>[][mls_python] | |
| 17 | | **Facial Recognition: Face Embeddings π€** | Detect, crop, and embed faces using Facenet, then store and query face embeddings in **LanceDB** for efficient facial recognition and top-K matching results π₯ | [][fr_github] <br>[][fr_colab] | |
| 18 | | **Sentiment Analysis: Hotel Reviews π¨** | Analyze customer sentiments towards the hotel industry using **BERT models**, storing sentiment labels, scores, and embeddings in **LanceDB**, enabling queries on customer opinions and potential areas for improvement π¬ | [][sentiment_analysis_github] <br>[][sentiment_analysis_colab] <br>[][sentiment_analysis_ghost] | |
| 19 | | **Vector Arithmetic with LanceDB βοΈ** | Perform **vector arithmetic** on embeddings, enabling complex relationships and nuances in data to be captured, and simplifying the process of retrieving semantically similar results π | [][arithmetic_github] <br>[][arithmetic_colab] <br>[][arithmetic_ghost] | |
| 20 | | **Imagebind Demo πΌοΈ** | Explore the multi-modal capabilities of **Imagebind** through a Gradio app, use **LanceDB API** for seamless image search and retrieval experiences πΈ | [][imagebind_github] <br> [][imagebind_huggingface] | |
| 21 | | **Search Engine using SAM & CLIP π** | Build a search engine within an image using **SAM** and **CLIP** models, enabling object-level search and retrieval, with LanceDB indexing and search capabilities to find the closest match between image embeddings and user queries πΈ | [][swi_github] <br>[][swi_colab] <br>[][swi_ghost] | |
| 22 | | **Zero Shot Object Localization and Detection with CLIP π** | Perform object detection on images using **OpenAI's CLIP**, enabling zero-shot localization and detection of objects, with capabilities to split images into patches, parse with CLIP, and plot bounding boxes π | [][zsod_github] <br>[][zsod_colab] | |
| 23 | | **Accelerate Vector Search with OpenVINO π** | Boost vector search applications using **OpenVINO**, achieving significant speedups with **CLIP** for text-to-image and image-to-image searching, through PyTorch model optimization, FP16 and INT8 format conversion, and quantization with **OpenVINO NNCF** π | [][openvino_github] <br>[][openvino_colab] <br>[][openvino_ghost] | |
| 24 | | **Zero-Shot Image Classification with CLIP and LanceDB πΈ** | Achieve zero-shot image classification using **CLIP** and **LanceDB**, enabling models to classify images without prior training on specific use cases, unlocking flexible and adaptable image classification capabilities π | [][zsic_github] <br>[][zsic_colab] <br>[][zsic_ghost] | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | [inbuilt_hybrid_search_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/Inbuilt-Hybrid-Search |
| 30 | [inbuilt_hybrid_search_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/examples/Inbuilt-Hybrid-Search/Inbuilt_Hybrid_Search_with_LanceDB.ipynb |
| 31 | |
| 32 | [BM25_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/Hybrid_search_bm25_lancedb |
| 33 | [BM25_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/examples/Hybrid_search_bm25_lancedb/main.ipynb |
| 34 | [BM25_ghost]: https://blog.lancedb.com/hybrid-search-combining-bm25-and-semantic-search-for-better-results-with-lan-1358038fe7e6 |
| 35 | |
| 36 | [NER_github]: https://github.com/lancedb/vectordb-recipes/blob/main/tutorials/NER-powered-Semantic-Search |
| 37 | [NER_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/tutorials/NER-powered-Semantic-Search/NER_powered_Semantic_Search_with_LanceDB.ipynb |
| 38 | [NER_ghost]: https://blog.lancedb.com/ner-powered-semantic-search-using-lancedb-51051dc3e493 |
| 39 | |
| 40 | [audio_search_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/audio_search |
| 41 | [audio_search_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/examples/audio_search/main.ipynb |
| 42 | [audio_search_python]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/audio_search/main.py |
| 43 | |
| 44 | [mls_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/multi-lingual-wiki-qa |
| 45 | [mls_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/examples/multi-lingual-wiki-qa/main.ipynb |
| 46 | [mls_python]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/multi-lingual-wiki-qa/main.py |
| 47 | |
| 48 | [fr_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/facial_recognition |
| 49 | [fr_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/examples/facial_recognition/main.ipynb |
| 50 | |
| 51 | [sentiment_analysis_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/Sentiment-Analysis-Analyse-Hotel-Reviews |
| 52 | [sentiment_analysis_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/examples/Sentiment-Analysis-Analyse-Hotel-Reviews/Sentiment_Analysis_using_LanceDB.ipynb |
| 53 | [sentiment_analysis_ghost]: https://blog.lancedb.com/sentiment-analysis-using-lancedb-2da3cb1e3fa6 |
| 54 | |
| 55 | [arithmetic_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/Vector-Arithmetic-with-LanceDB |
| 56 | [arithmetic_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/examples/Vector-Arithmetic-with-LanceDB/main.ipynb |
| 57 | [arithmetic_ghost]: https://blog.lancedb.com/vector-arithmetic-with-lancedb-an-intro-to-vector-embeddings/ |
| 58 | |
| 59 | [imagebind_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/imagebind_demo |
| 60 | [imagebind_huggingface]: https://huggingface.co/spaces/raghavd99/imagebind2 |
| 61 | |
| 62 | [swi_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/search-within-images-with-sam-and-clip |
| 63 | [swi_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/examples/search-within-images-with-sam-and-clip/main.ipynb |
| 64 | [swi_ghost]: https://blog.lancedb.com/search-within-an-image-331b54e4285e |
| 65 | |
| 66 | [zsod_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/zero-shot-object-detection-CLIP |
| 67 | [zsod_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/examples/zero-shot-object-detection-CLIP/zero_shot_object_detection_clip.ipynb |
| 68 | |
| 69 | [openvino_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/Accelerate-Vector-Search-Applications-Using-OpenVINO |
| 70 | [openvino_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/examples/Accelerate-Vector-Search-Applications-Using-OpenVINO/clip_text_image_search.ipynb |
| 71 | [openvino_ghost]: https://blog.lancedb.com/accelerate-vector-search-applications-using-openvino-lancedb/ |
| 72 | |
| 73 | [zsic_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/zero-shot-image-classification |
| 74 | [zsic_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/examples/zero-shot-image-classification/main.ipynb |
| 75 | [zsic_ghost]: https://blog.lancedb.com/zero-shot-image-classification-with-vector-search/ |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |