autolabel icon indicating copy to clipboard operation
autolabel copied to clipboard

Confidence score fallback

Open Abhinav-Naikawadi opened this issue 1 year ago • 1 comments

Pull Review Summary

Description

When OpenAI does not return logprobs, we fallback to using RefuelLLM for confidence scores. This would mean that the confidence scores are not normalized with OpenAI logprob confidence scores, so this might not be ideal, but perhaps is better than returning 0 confidence

Type of change

  • Bug fix (change which fixes an issue)

Tests

Tested locally for case when no logprobs are present (manually set logprobs to None)

Abhinav-Naikawadi avatar Apr 11 '24 02:04 Abhinav-Naikawadi

@Abhinav-Naikawadi lets close this

rajasbansal avatar Jul 17 '24 20:07 rajasbansal