AI-Powered Catalog Search
Replace keyword-based catalog search with AI-powered semantic and visual search. Understands natural language queries like "lightweight summer dress under $50" and combines text understanding with visual similarity for comprehensive product discovery.
from mixpeek import Mixpeekclient = Mixpeek(api_key="YOUR_API_KEY")# Create product catalog collectioncollection = client.collections.create(namespace_id="ns_your_namespace",name="product_catalog",extractors=["multimodal-extractor", "text-extractor"])# Upload product data with rich metadataclient.buckets.upload(bucket_id="bkt_products",url="s3://your-bucket/products/",metadata_mapping={"price": "price", "category": "category", "brand": "brand"})# Build production retriever with filtering and rerankingretriever = client.retrievers.create(namespace_id="ns_your_namespace",name="catalog_search",collection_ids=["col_product_catalog"],stages=[{"type": "feature_search", "top_k": 100},{"type": "attribute_filter"},{"type": "rerank", "top_k": 20}])# Natural language catalog searchresults = client.retrievers.execute(retriever_id=retriever["retriever_id"],query={"text": "lightweight summer dress under $50"},filters={"in_stock": True, "price": {"$lte": 50}})for doc in results["documents"]:print(f"{doc['metadata']['name']} - ${doc['metadata']['price']}")
Feature Extractors
Retriever Stages
rerank
Rerank documents using cross-encoder models for accurate relevance
Related Recipes & Resources
Explore these related resources to deepen your understanding and discover more powerful features
Visual Product Search
Enable camera-based product discovery for e-commerce. Customers snap a photo of a product they like, and the pipeline returns visually similar items from your catalog along with pricing, availability, and product metadata.
Reverse Image Search
Build a reverse image search engine that accepts an image as input and returns visually similar results from your indexed collection. Uses multimodal embeddings to match visual features like color, shape, composition, and semantic content.
E-commerce Catalog Enrichment
Automatically enrich product listings with visual attributes, descriptions, and tags extracted from product images. Fill in missing catalog data at scale.
Face Search Pipeline
Detect, align, and embed faces across your image and video library, then search by face identity. Uses SCRFD for detection and ArcFace for 512-dimensional identity embeddings, enabling large-scale face recognition and matching.
Visual Similarity Search
Unified visual similarity search across both images and video frames. Query with a photo, screenshot, or frame to discover visually related content regardless of format, with MMR diversification to ensure variety in results.
Image Embedding
Generate visual embeddings for similarity search and clustering