3 ms·
Wait, this doesn't work with a current-gen model like 4o? Is this a technical limitation?
by siva7 2y ago
Wait, this doesn't work with a current-gen model like 4o? Is this a technical limitation?
- QueensGambit 2y agoYes, it does. Updated the doc. Thanks for pointing it out! As long as you have the logprobs, it should work: const jsonOutput = JSON.parse(response.choices[0].message.content); const result = calculateConfidenceScores(jsonOutput, response.choices[0].logprobs.content);