Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confidence score fallback #795

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Confidence score fallback #795

wants to merge 3 commits into from

Conversation

Abhinav-Naikawadi
Copy link
Contributor

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)

@rajasbansal
Copy link
Contributor

@Abhinav-Naikawadi lets close this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants