All apps
Splitting SRT Subtitles into Chunks for Embedding
Tool

Splitting SRT Subtitles into Chunks for Embedding

Splits SRT subtitles into thematic chunks for embedding. A component technology for a bigger project.

Status
In production
Build time
1.33h
Category
Tool

About the project

For one bigger project I needed to cut SRT subtitle transcripts into meaningful thematic chunks that embeddings for vector search are then made from. A local GPT drives the splitting.

The tool has two parts: a Python CLI that processes the subtitles and a Next.js chunk viewer to visualize the results. Unassuming on its own, but a key piece of the puzzle.

What you get

  • A basis for vector search in content.
  • A local GPT drives the chunking.
  • A piece of a bigger project.

How it works (under the hood)

  • A Python CLI, srt-segmenter, for processing.
  • Splitting into topics via a local GPT (Ollama).
  • A Next.js chunk viewer to check the results.

Built with

PythonOllamaNext.jsReactTypeScriptTailwind CSS

Want to build like this too?

I teach building apps without programming in the AI First course.

AI First course