返回探索

Jev:在推理前定义有效输出

介绍 Jev 从推理前定义有效输出的思路,对比生成文本后剥离 Markdown、解析 JSON、校验 schema 的常见流程。

JEV DELETES THE DUMBEST PART OF AI CODE. - Generate text. - Strip the markdown. - Parse the JSON. - Validate the schema. - Retry after the model adds a poem anyway. Jev starts from the opposite assumption: the valid outputs are defined before inference. State goes in. A typed

· 1 次赞在 X 打开