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][3/n] add ability to eval retrieval + generation in agentic eval pipeline #668

Open
wants to merge 1 commit into
base: rag_scoring_fn_2
Choose a base branch
from

Conversation

yanxi0830
Copy link
Contributor

@yanxi0830 yanxi0830 commented Dec 20, 2024

What does this PR do?

  • This PR adds the ability s.t. users can evaluate on both retrieval + generation separately & as a whole by passing an AgentConfig to the /eval API
  • The memory_retrieval context will be stored in the "context" column used for scoring functions that can evaluate the retrieved context.

Test Plan

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_2 December 20, 2024 04:01
@yanxi0830 yanxi0830 marked this pull request as ready for review December 20, 2024 04:02
@yanxi0830 yanxi0830 changed the title [rag evals][3/n] add ability to eval retrieval + generation generation in agentic eval pipeline [rag evals][3/n] add ability to eval retrieval + generation in agentic eval pipeline Dec 26, 2024
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