Relationships
Create and manage connections between features, nodes, and clusters in your multimodal content
Relationships in Mixpeek enable you to define and discover meaningful connections between video segments and other entities. These connections can represent similarity, temporal sequences, demonstrations of concepts, and more.
Relationships is only available for enterprise customers, email info@mixpeek.com for a demo.
Core Relationship Types
Feature-to-Feature
Connect video segments:
- similar_to: Visual/semantic similarity
- precedes/follows: Temporal sequence
- variant_of: Different versions
- part_of: Segment containment
Feature-to-Node
Link to taxonomy concepts:
- demonstrates: Shows example
- references: Contains/mentions
- violates: Shows incorrect example
- explains: Provides instruction
Feature-to-Cluster
Connect to discovered groups:
- belongs_to: Cluster membership
- near: Proximity relationship
Implementation
Graph Response Structure
When querying the relationship graph, the API returns a network of connected entities and their relationships:
The graph response includes:
- Nodes: All entities in the graph with their metadata
- Edges: All relationships between nodes with scores and metadata
- Metadata: Information about the graph query itself
This structure enables visualization and analysis of relationship networks between features, nodes, and clusters.
Internal Relationship Structure
Features store relationships in a simplified array structure:
Best Practices for Video Relationships
Relationship Selection
- Choose appropriate relationship types
- Consider temporal context
- Use meaningful scores
- Include relevant metadata
Score Generation
- Vector similarity for “similar_to”
- Temporal proximity for sequences
- Model confidence for demonstrations
- Distance metrics for clusters
Performance Optimization
- Index frequently queried relationships
- Batch relationship creation
- Cache common graph queries
- Monitor relationship density
Consider these limitations when creating relationships:
- Maximum relationships per feature: 1000
- Maximum graph query depth: 3
- Rate limits apply to relationship operations
Combine relationships with clusters and taxonomies for the most effective content organization. Each provides different insights into your video content.
Was this page helpful?