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

Fix embedding similarity crash #90

Merged
merged 5 commits into from
Nov 1, 2024
Merged

Conversation

aphinx
Copy link
Contributor

@aphinx aphinx commented Aug 6, 2024

Normalizes output and expected to strings so that they are valid cache keys.

Fixes BRA-1517.

@aphinx aphinx requested a review from ankrgyl August 6, 2024 22:55
Copy link

github-actions bot commented Aug 6, 2024

Braintrust eval report

Autoevals (fix-embedding-similarity-crash-1730147612)

Score Average Improvements Regressions
NumericDiff 74.1% (+0pp) - -
Duration 1.53s (-2.65s) 100 🟢 -
Prompt_tokens 279.25tok (+0tok) - -
Completion_tokens 18.1tok (-0.05tok) 1 🟢 -
Total_tokens 297.35tok (-0.05tok) 1 🟢 -

@ankrgyl
Copy link
Contributor

ankrgyl commented Aug 6, 2024

Can you add a test for it?

@aphinx aphinx requested a review from manugoyal October 31, 2024 21:52
@aphinx aphinx merged commit 6d205c6 into main Nov 1, 2024
2 of 8 checks passed
Copy link

github-actions bot commented Nov 1, 2024

Braintrust eval report

Autoevals (main-1730486384)

Score Average Improvements Regressions
NumericDiff 74.1% (+0pp) - -
Duration 1.53s (+0s) 66 🟢 31 🔴
Prompt_tokens 279.25tok (+0tok) - -
Completion_tokens 18.1tok (+0tok) - -
Total_tokens 297.35tok (+0tok) - -

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.

3 participants