用 Jev 构建代码库分类器
开发者分享用 Jev 构建代码库分类器,认为这可能解决智能体生成过度工程化代码的问题,并询问下一步测试方向。
该帖子展示了在system2中,如何将Rust enum用作Jev Choice的选项:其文档注释向Jev描述选项含义,返回结果直接对应一个枚举变体。所有问题通过一次请求发出,答案以类型化形式返回,便于程序化决策。
With system2, a Rust enum can be the options of a Jev Choice: its doc comments describe them to Jev, and the answer is one of your variants. All three questions go out in one request, and the answers come back typed, ready to decide programmatically.