adm_ai_rag_debug_log_v
RAG debug log entries with the query, the rewritten query and the matched chunks extracted from the JSON, for analysing retrieval and troubleshooting answers. AI Pack.
Overview
Section titled “Overview”Group: Administrative reporting
Category: RAG collections - Monitoring of RAG collections: files, chunks, queue and search log
Use Cases
Section titled “Use Cases”- Review what a RAG search asked and found
- Troubleshoot a poor answer
Columns
Section titled “Columns”The view contains 11 columns providing comprehensive information:
| Column Name | Description |
|---|---|
rag_debug_log_id |
Primary key of the debug log entry. |
rag_collection_id |
Foreign key to the RAG collection. |
collection_name |
Name of the RAG collection. |
debug_json |
Full JSON containing debug information. |
created_date |
Timestamp when the debug log entry was created. |
created_by |
User who created the debug log entry. |
query_text |
Original user query from the debug JSON. |
rewritten_query |
Rewritten query used for vector search. |
matched_chunks_json |
JSON array of matched chunks. |
matched_chunks_count |
Number of chunks matched for the query. |
days_ago |
Number of days since the debug log entry was created. |
Description: View of RAG debug log entries with extracted JSON fields for analyzing RAG query performance and troubleshooting answer generation.
Key Features
Section titled “Key Features”- Query and rewritten query as columns
- Matched chunks as JSON and as a count
- Full debug JSON kept
Related Views
Section titled “Related Views”Other views in the RAG collections category: