Create a semantic search index for spoken words in the video, enabling intelligent search across video transcripts.
Copy
Ask AI
import videodbconn = videodb.connect(api_key="your_api_key")coll = conn.get_collection()video = coll.get_videos()[0]# Index spoken words for semantic searchvideo.index_spoken_words()print("Indexing complete. Video is now searchable.")
Automatically generates transcript if not already created
Creates semantic embeddings for all spoken words
Enables powerful search capabilities on video content
Indexing is asynchronous; progress can be tracked with callbacks
Index remains in place even if video storage is deleted
Use language_code parameter for non-English videos (optional)