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

Need higher level RAG metrics #2598

Open
devinbost opened this issue Jun 14, 2024 · 2 comments
Open

Need higher level RAG metrics #2598

devinbost opened this issue Jun 14, 2024 · 2 comments
Labels
enhancement New feature or request Important milestonish New metric
Milestone

Comments

@devinbost
Copy link

Problem & Motivation

There is a huge wave of interest around high accuracy Q&A, such as via Retrieval Augmented Generation (RAG). RAG accuracy is largely driven by how well vector search is able to retrieve the correct context to answer questions via an LLM. When evaluating embedding models, vector search retrieval metrics are helpful but insufficient because they don't reveal how well the retrieved content actually answers the target questions.

Pitch

I'd love to see an integration with a tool like our new ragulate library (Apache 2 licensed) that would simplify model evaluation on RAG Q&A: https://github.com/epinzur/ragulate/tree/main

Additional context

I was going to suggest that you integrate with trulens, but then I discovered that we built ragulate to automate much of the process of using trulens, and we'd love feedback on it.

@devinbost devinbost added the enhancement New feature or request label Jun 14, 2024
Copy link

Hi! thanks for your contribution!, great first issue!

@Borda
Copy link
Member

Borda commented Jun 17, 2024

@devinbost, thank you for your suggestion. Indeed, it would be nice to have such meters available in TM. Said so, I would love to see your PR adding them as complete code not referring to an external package... 🦩

@stancld stancld added this to the future milestone Jul 15, 2024
@Borda Borda added the Important milestonish label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Important milestonish New metric
Projects
None yet
Development

No branches or pull requests

3 participants