应用产品

transcript-lens

@sensahin12TypeScriptMIT更新于 2026-09-19可当场跑

根据内容探索 YouTube 字幕,提供土耳其语界面、Jev 分析、字幕导出和 Vercel 部署指南。

英文原文

YouTube transkriptlerini anlamına göre keşfedin. Türkçe arayüz, Jev analizi, altyazı dışa aktarma ve Vercel kurulum rehberi.

sensahin/transcript-lens

它在哪儿调用了 Jev

const API = 'https://api.typesafe.ai/v1/systemone';

src/lib/jev.ts:18

链接指向我们抓取当天的那个 commit,行号是准的。

它问 Jev 的问题

下面是从这个项目源码里原样取出来的 question 组合。

取自 src/lib/analyze.ts:20

  1. value选项

    For someone reading this transcript for its substance, how much does this block matter?

    • essentiala core point, insight, argument or piece of information; skipping it loses something important
    • usefulrelevant supporting detail, example or context
    • skippablefiller, repetition, pleasantries, or nothing new
  2. surprising是/否

    Does this block say something surprising or counter-intuitive?

  3. funny是/否

    Is this block funny: a joke, a witty line, a laugh?

  4. controversial是/否

    Is this block controversial: a provocative, divisive or strongly contested position?

  5. actionable是/否

    Does this block give practical advice the listener could act on?

  6. novel是/否

    Does this block contain an original idea or a perspective most people would not have heard before?

  7. emotional是/否

    Is this block emotionally charged: personal, moving, heated or vulnerable?

用你自己的内容跑一遍

代码
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    value: { type: 'choice', instructions: 'For someone reading this transcript for its substance, how much does this block matter?',
      criteria: { essential: 'a core point, insight, argument or piece of information; skipping it loses something important', useful: 'relevant supporting detail, example or context', skippable: 'filler, repetition, pleasantries, or nothing new' } },
    surprising: { type: 'boolean', instructions: 'Does this block say something surprising or counter-intuitive?' },
    funny: { type: 'boolean', instructions: 'Is this block funny: a joke, a witty line, a laugh?' },
    controversial: { type: 'boolean', instructions: 'Is this block controversial: a provocative, divisive or strongly contested position?' },
    actionable: { type: 'boolean', instructions: 'Does this block give practical advice the listener could act on?' },
    novel: { type: 'boolean', instructions: 'Does this block contain an original idea or a perspective most people would not have heard before?' },
    emotional: { type: 'boolean', instructions: 'Is this block emotionally charged: personal, moving, heated or vulnerable?' },
  },
});

同类的其他项目