Skip to content

Jev directory

Low-latency audio decisions POC

Private TypeScript proof of concept that flags Spanish profanity with Jev Boolean and Score questions and replaces the matching word intervals with a beep via ffmpeg, keeping the original duration.
Stars
2
Language
TypeScript
Reading time
4 min
Published by
Community
Author
santos-sanz
Last verified
Sep 2026

Low-latency audio censorship POC using Jev typed decisions and ffmpeg.

Forks
1
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

Private TypeScript proof of concept: identify Spanish profanity with Jev's typed probabilistic decisions and replace the matching word intervals with a beep without changing the audio duration. The checked-in demo uses a timestamp sidecar so the Jev and DSP path is reproducible without tying the POC to an ASR vendor. AsrProvider is the seam for plugging in a streaming ASR that emits partial word timestamps. A TypeSafe AI API key with Jev access.

Quoted from the project's README. Read the full README.

Highlights

  • Each word is evaluated in its local context with two typed questions: isInsult (Boolean) and severity (Score with four ordered levels).
  • The pipeline goes ASR timestamps to parallel Jev evaluations, threshold padding and merging, then an ffmpeg beep overlay.
  • The ASR provider is a seam for streaming; the README sketches a live version with a 300-600 ms PCM ring buffer.
  • The default 0.72 threshold is explicitly a POC starting point, not a claim of production calibration.
  • Uses the official @ai-sdk/typesafe-ai provider with the System One endpoint and jev-latest, overridable with JEV_MODEL.

Quickstart

bash
npm install
export TYPESAFE_AI_API_KEY='YOUR_API_KEY'
npm run check
npm run demo

Watch out

No license file, so reuse terms are unclear. Needs Node.js 22+, ffmpeg on PATH and a TypeSafe API key; audio and transcript text are sent to providers, and the demo relies on a word-timestamp sidecar.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

YouTube: Building a contextual brand-safety scorer on Jev from scratch.

X: A website slop detector that checks 35 tells in 243 ms

X: Breaking, golden nugget, or slop

X: A filter for reply-guy comments

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai