RAG Analytics Schema

Start Timer

0:00:00

Upvote
0
Downvote
Save question
View comments

Let’s say we’re building an internal RAG app that answers employee questions from our company docs. We want to track each prompt, the chunks we retrieved, the model’s response, and any thumbs up or thumbs down.

  1. How would you design the analytics schema?
  2. Using that schema, write a query to find the documents that show up most in thumbs down responses.
.
.
.
.
.
Topic
Data Modeling
Tags
SQL
Data Modeling
Retrieval-Augmented Generation (RAG)
Category
System Design
Position
Data Engineer
Difficulty
Medium
Success
N/A
Last asked
This question was asked on May 30, 2026
Companies
What did you think?


Comments

Loading comments