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

Retrieval + generation eval: run quivr RAG on dataset questions #3568

Open
jacopo-chevallard opened this issue Jan 28, 2025 — with Linear · 1 comment
Open

Retrieval + generation eval: run quivr RAG on dataset questions #3568

jacopo-chevallard opened this issue Jan 28, 2025 — with Linear · 1 comment
Assignees

Comments

Copy link
Collaborator

jacopo-chevallard commented Jan 28, 2025

We should take all questions in the reference dataset, and perform RAG using a given retrieval/generation workflow.

CRAG uses the following prompt, which allows for three different types of answer:

  1. Full answer
  2. answer of the type "I don’t know"
  3. answer of the type "invalid question"
""" You are given a Question, References and
the time when it was asked in the Pacific Time Zone (PT), referred to as "Query Time". The query
time is formatted as "mm/dd/yyyy, hh:mm:ss PT". The references may or may not help answer the
question. Your task is to answer the question in as few words as possible.
Please follow these guidelines when formulating your answer:
1. If the question contains a false premise or assumption, answer “invalid question”.
2. If you are uncertain or don’t know the answer, respond with “I don’t know”.
### Question
{query}
### Query Time
{query_time}
### References
{references}
17
### Answer
"""
Copy link

linear bot commented Jan 28, 2025

@jacopo-chevallard jacopo-chevallard self-assigned this Jan 28, 2025
@jacopo-chevallard jacopo-chevallard changed the title Retrieval + generation: run quivr RAG on reference dataset Retrieval + generation eval: run quivr RAG on reference dataset Jan 28, 2025
@jacopo-chevallard jacopo-chevallard changed the title Retrieval + generation eval: run quivr RAG on reference dataset Retrieval + generation eval: run quivr RAG on dataset questions Jan 28, 2025
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

No branches or pull requests

1 participant