#Confidence score of completion API.
3 messages · Page 1 of 1 (latest)
This isn't possible, the result generated by the API isn't one result with a single confidence rate, each token generated by the API has a log probability
If you want a sort of confidence score, you can get an embedding vector for the question and the answer and do a dot product of the two vectors. It will tell you how close gpt thinks they are to each other in vector space. I find score over .8 are fairly good. Scores over .84 are really good and scores in the .7 range are generally not that closely related. It's not a confidence score, but it is somewhere to start