Show HN: Marqo – Vectorless Vector Search Marqo is an end-to-end vector search engine. It contains everything required to integrate vector search into an application in a single API. Here is a code snippet for a minimal example of vector search with Marqo: mq = marqo.Client() mq.create_index("my-first-index") mq.index("my-first-index").add_documents([{"title": "The Travels of Marco Polo"}]) results = mq.index("my-first-index").search(q="Marqo Polo") Why Marqo? Vector similarity alone is not enough for vector search. Vector search requires more than a vector database - it also requires machine learning (ML) deployment and management, preprocessing and transformations of inputs as well as the ability to modify search behavior without retraining a model. Marqo contains all these pieces, enabling developers to build vector search into their application with minimal effort. Why not X, Y, Z vector database? Vector databases are specialized components for vector similarity. They are “vectors in - vectors out”. They still require the production of vectors, management of the ML models, associated orchestration and processing of the inputs. Marqo makes this easy by being “documents in, documents out”. Preprocessing of text and images, embedding the content, storing meta-data and deployment of inference and storage is all taken care of by Marqo. We have been running Marqo for production workloads with both low-latency and large index requirements. Marqo features: - Low-latency (10’s ms - configuration dependent), large scale (10’s - 100’s M vectors). - Easily integrates with LLM’s and other generative AI - augmented generation using a knowledge base. - Pre-configured open source embedding models - SBERT, Huggingface, CLIP/OpenCLIP. - Pre-filtering and lexical search. - Multimodal model support - search text and/or images. - Custom models - load models fine tuned from your own data. - Ranking with document meta data - bias the similarity with properties like popularity. - Multi-term multi-modal queries - allows per query personalization and topic avoidance. - Multi-modal representations - search over documents that have both text and images. - GPU/CPU/ONNX/PyTorch inference support. See some examples here: Multimodal search: [1] https://ift.tt/mTQGPr4... Refining image quality and identifying unwanted content: [2] https://ift.tt/KOJVIWs... Question answering over transcripts of speech: [3] https://ift.tt/rO8yc0o Question and answering over technical documents and augmenting NPC's with a backstory: [4] https://ift.tt/68paEOo... https://ift.tt/LKXcdNJ August 16, 2023 at 05:01PM
0 Comments