Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/video-intelligence/backend/setup_indexes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
"""
MongoDB Atlas Search Index Setup Script
MongoDB Search Index Setup Script
Creates the required vector search and text search indexes for the Video Intelligence app.
"""

Expand All @@ -13,12 +13,12 @@


def setup_indexes():
"""Setup MongoDB Atlas search indexes"""
"""Setup MongoDB search indexes"""

# Get embedding dimensions from environment variable
EMBEDDING_DIM_SIZE = int(os.getenv("EMBEDDING_DIM_SIZE", "1024"))
print(f"Using embedding dimensions: {EMBEDDING_DIM_SIZE}")
print("🔧 Setting up MongoDB Atlas Search Indexes")
print("🔧 Setting up MongoDB Search Indexes")
print("=" * 50)

# Load environment variables
Expand Down
Loading