Dataset Versioning
Treat versioned object storage as your dataset's source of truth. Capture complete snapshots-raw assets, embeddings, and cluster assignments-for deterministic reconstruction at any point in time.
"Retrieve training dataset snapshot from October 1st with all embeddings and cluster assignments"
Why This Matters
When datasets stop slipping out from under you, everything downstream gets easier. True reproducibility means rebuilding exact training inputs, not reconstructing from memory.
import requestsAPI_URL = "https://api.mixpeek.com"headers = {"Authorization": "Bearer YOUR_API_KEY", "X-Namespace": "your-namespace"}# Create collection linked to versioned object storagecollection = requests.post(f"{API_URL}/v1/collections", headers=headers, json={"collection_name": "training_data_v2","source": {"type": "bucket", "bucket_id": "versioned-training-data"},"feature_extractor": {"feature_extractor_name": "multimodal_extractor","version": "v1"}}).json()# Index from versioned object storage (e.g., Tigris, S3)requests.post(f"{API_URL}/v1/buckets/versioned-training-data/objects", headers=headers, json={"blobs": [{"property": "content", "url": "s3://bucket/training/"}],"metadata": {"version": "v2", "snapshot_date": "2024-10-01"}})# Create cluster snapshot for this versioncluster = requests.post(f"{API_URL}/v1/clusters", headers=headers, json={"cluster_name": "training_v2_snapshot","source_collection_ids": [collection["collection_id"]],"feature_addresses": ["mixpeek://multimodal_extractor@v1/embedding"],"algorithm": "hdbscan"}).json()# Execute to create snapshotexecution = requests.post(f"{API_URL}/v1/clusters/{cluster['cluster_id']}/execute",headers=headers).json()print(f"Snapshot created: {execution['run_id']}")# Query historical dataset state by filtering on metadataresults = requests.post(f"{API_URL}/v1/retrievers/versioned-search/execute",headers=headers,json={"query": {"text": "product demos"}}).json()print(f"Found {len(results['documents'])} documents")
Feature Extractors
Video Embedding
Generate vector embeddings for video content
Audio Transcription
Transcribe audio content to text
Retriever Stages
attribute filter
Filter documents by metadata attribute values using boolean logic
feature search
Search and filter documents by vector similarity using feature embeddings
Related Blog Posts
Documentation
Related Recipes & Resources
Explore these related resources to deepen your understanding and discover more powerful features
Video Embedding
Generate vector embeddings for video content
Audio Transcription
Transcribe audio content to text
Video Embedding
Dense vector representations of video content
Image Embedding
Dense vector representations of image content
Clustering & Theme Discovery
Unsupervised clustering that groups content into semantic themes using HDBSCAN. Surfaces hidden patterns, content variants, and outliers without requiring predefined labels.
Semantic Drift Detection
Monitor distribution shifts between baseline and current data using cluster comparison. Detect when new content diverges from training data or when content mix changes unexpectedly.