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

[rag evals][2/n] add more braintrust scoring fns for RAG eval #666

Open
wants to merge 2 commits into
base: rag_scoring_fn_1
Choose a base branch
from

Conversation

yanxi0830
Copy link
Contributor

@yanxi0830 yanxi0830 commented Dec 20, 2024

What does this PR do?

  • add more braintrust scoring functions for RAG eval
  • add tests for evaluating against context

Test Plan

pytest -v -s -m braintrust_scoring_together_inference scoring/test_scoring.py
image

Example Output

image image

Sources

Please link relevant resources if necessary.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Ran pre-commit to handle lint / formatting issues.
  • Read the contributor guideline,
    Pull Request section?
  • Updated relevant documentation.
  • Wrote necessary unit or integration tests.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 20, 2024
@yanxi0830 yanxi0830 changed the base branch from main to rag_scoring_fn_1 December 20, 2024 00:57
@yanxi0830 yanxi0830 marked this pull request as ready for review December 20, 2024 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants