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

Evidence - FeedbackEvaluator Storage & Basic UI #12758

Merged
merged 55 commits into from
Feb 5, 2025

Conversation

dandrabik
Copy link
Member

@dandrabik dandrabik commented Jan 31, 2025

WHAT

Run the FeedbackEvaluator after trials complete, store in a DB table and roll-up, show in UI.

WHY

We want to show this info in the UI of the research tool to make prompt engineering on the feedback prompt more efficient.

HOW

Create a new table evidence_research_gen_ai_feedback_evaluations and run evaluations when GEvalScores are calculated. Show in UI.

Screenshots

Screenshot 2025-01-31 at 5 09 24 PM
Screenshot 2025-01-31 at 5 09 12 PM### Notion Card Links
https://www.notion.so/quill/Feedback-Evaluation-Metrics-Storage-185d42e6f941807191e3ddc2da872cd7

What have you done to QA this feature?

I've run some tests locally in the console while connected to the staging DB. I also ran the metrics on staging and seemed to work properly. Viewed the UI locally to ensure the metrics show properly.

PR Checklist Your Answer
Have you added and/or updated tests? Yes
Have you deployed to Staging? YES
Self-Review: Have you done an initial self-review of the code below on Github? Yes

Copy link
Member

@emilia-friedberg emilia-friedberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me -- nice work cleanly following the existing paradigm on the frontend. It looks like you might be having the same issue with snapshot datetimes that @brendanshean did last week, maybe he can speak to how he resolved that.

Copy link
Member

@brendanshean brendanshean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work on this and well done on integrating with the new UI.

Copy link
Member

@brendanshean brendanshean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. I think this will provide some good insight into LLM feedback.

@dandrabik dandrabik merged commit 1eca0a2 into develop Feb 5, 2025
19 checks passed
@dandrabik dandrabik deleted the feedback_evaluator_storage branch February 5, 2025 21:24
dandrabik added a commit that referenced this pull request Feb 5, 2025
Evidence - FeedbackEvaluator Storage & Basic UI (#12758)
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.

4 participants