官方仓库
TypeSafe API 的官方 Python 库。
The official Python library for the TypeSafe API
DEFAULT_BASE_URL = "https://api.typesafe.ai"src/typesafe_sdk/constants.py:15
链接指向我们抓取当天的那个 commit,行号是准的。
下面是从这个项目源码里原样取出来的 question 组合。
取自 src/typesafe_sdk/_core/client/aio/client.py:70
billing是/否Is this about billing?
import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
billing: { type: 'boolean', instructions: 'Is this about billing?' },
},
});