dev.classmethod.jp/articles/openai-update-json-mode-at-devday/
1 Users
0 Comments
5 Highlights
0 Notes
Tags
Top Highlights
JSON形式でレスポンスを返すことが保証されたJSONモードがサポートされました
モデルのうちgpt-4-1106-previewとgpt-3.5-turbo-1106のみでJSONモードが利用可能です。
プロンプトにJSONという言葉がない場合、エラーになります。
response_formatに{ type:"json_object" }を設定することで、JSONモードが有効になります。
gpt-3.5-turbo-1106の場合、Lambdaの実行時間は、3秒程度でした。
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.