Warning: Missing argument 3 for write(), called in /www/wwwroot/biwei1.cn/incs/robot.php on line 68 and defined in /www/wwwroot/biwei1.cn/incs/data.php on line 487
想要让GPT(包括3.5)稳定的生成 JSON 格式,最好的方式是在请求时加上 response_format={ "type": "json_object" } 参数,然后如原推那样,在 Prompt 里面用TypeScript 把要返回的JSON的类型定义清楚,就可以比较稳定的得到JSON格式。参考文档:
发布时间:
1
数据加载中
Markdown支持
评论加载中...
您可能感兴趣的: 更多
').appendTo(document.body); } $(document).ready(function() { $("a.format_output").bind("click", function(e) { var tid = $(this).closest("div.entry").find("a.title").attr("vid"); if (tid) { clickCounter(tid); } }); });