autolabel
autolabel copied to clipboard
Confidence score fallback
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 lets close this