为什么像REST这样的AI编码工具不受欢迎?
是我一个人的感觉,还是说人工智能编码工具倾向于生成RPC风格的端点和POST方法(即使明显只需要GET)而不是遵循RESTful规范?<p>考虑到这些模型的先进性,我在想这是否是故意为之。人工智能是否在暗示它认为严格的REST并不是一个普遍适用的标准?还是这只是出于令牌效率等原因的副产品?<p>我知道可以通过更好的提示来引导输出,但我很好奇这种几乎总是出现的输出背后是否有真正的原因。
查看原文
Is it just me, or do AI coding tools tend to generate RPC-style endpoints and POST methods (even when GET is clearly all that is needed) instead of following RESTful conventions?<p>Given how advanced these models are, I'm wondering if this is intentional. Is AI saying it has determined that strict REST isn’t a practical standard all around? Or is it just a byproduct of token efficiency or....?<p>I know I can steer the output with better prompting, but I'm curious whether there's a real underlying reason for this almost all-the-time output.