榜单与资源

awesome-jev-usecases

@aliaihub7NOASSERTION更新于 2026-09-18可当场跑

基于证据的Jev使用案例、模式和指导,支持TypeSafe AI的System One模型,所有内容均有标注和来源。

英文原文

Evidence-backed use cases, patterns, and guidance for building with Jev, TypeSafe AI's System One model. Every claim is labeled and sourced.

aliaihub/awesome-jev-usecases

它在哪儿调用了 Jev

from typesafe_sdk import TypeSafeClient  # imported lazily

examples/python/_client.py:324

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

它问 Jev 的问题

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

取自 examples/python/01_routing_triage.py:38

  1. topic选项

    question

    • whatDoes not fit any of the above
    • not_forCharges or order tracking

用你自己的内容跑一遍

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

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    topic: { type: 'choice', instructions: 'question',
      criteria: { what: 'Does not fit any of the above', not_for: 'Charges or order tracking' } },
  },
});

取自 examples/python/02_composite_and_fanout.py:66

  1. python_depth打分

    Depth of Python experience shown

    • 0None mentioned
    • 1Mentioned, no detail
    • 2Used in projects
    • 3Primary language
    • 4Deep expertise: architecture, performance
  2. team_leadership打分

    Experience leading engineering teams

    • 0None
    • 1Informal mentorship
    • 2Led a small team
    • 3Managed direct reports
    • 4Managed multiple teams
  3. system_design打分

    Experience designing distributed systems

    • 0None mentioned
    • 1Contributed to discussions
    • 2Designed components
    • 3Owned a system's architecture
    • 4Designed at scale across domains

用你自己的内容跑一遍

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

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    python_depth: { type: 'score', instructions: 'Depth of Python experience shown',
      criteria: ['None mentioned', 'Mentioned, no detail', 'Used in projects', 'Primary language', 'Deep expertise: architecture, performance'] },
    team_leadership: { type: 'score', instructions: 'Experience leading engineering teams',
      criteria: ['None', 'Informal mentorship', 'Led a small team', 'Managed direct reports', 'Managed multiple teams'] },
    system_design: { type: 'score', instructions: 'Experience designing distributed systems',
      criteria: ['None mentioned', 'Contributed to discussions', 'Designed components', 'Owned a system\'s architecture', 'Designed at scale across domains'] },
  },
});

取自 examples/python/04_cascade.py:38

  1. intent选项

    Primary intent of this message

    • order_statusAsking about an existing order
    • product_questionAsking about a product
    • return_exchangeWants to return or exchange
    • complaintUnhappy, wants resolution
    • otherNone of the above
  2. complexity打分

    How complex is this to resolve?

    • 0Simple lookup or standard procedure
    • 1Requires judgment or multiple steps
    • 2Unusual edge case, escalation needed

用你自己的内容跑一遍

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

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    intent: { type: 'choice', instructions: 'Primary intent of this message',
      criteria: { order_status: 'Asking about an existing order', product_question: 'Asking about a product', return_exchange: 'Wants to return or exchange', complaint: 'Unhappy, wants resolution', other: 'None of the above' } },
    complexity: { type: 'score', instructions: 'How complex is this to resolve?',
      criteria: ['Simple lookup or standard procedure', 'Requires judgment or multiple steps', 'Unusual edge case, escalation needed'] },
  },
});

取自 examples/python/05_retrieve_then_judge.py:53

  1. evidence_strength打分

    How strong is the causal evidence presented?

    • 0Anecdotal or preclinical
    • 1Observational
    • 2Single randomised trial
    • 3Meta-analysis of randomised trials

用你自己的内容跑一遍

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

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    evidence_strength: { type: 'score', instructions: 'How strong is the causal evidence presented?',
      criteria: ['Anecdotal or preclinical', 'Observational', 'Single randomised trial', 'Meta-analysis of randomised trials'] },
  },
});

同类的其他项目