From 56d15db14842ee35b12221439c8c5f70f8bf10e4 Mon Sep 17 00:00:00 2001 From: Santosh Bhavani Date: Sat, 25 Oct 2025 14:10:44 -0700 Subject: [PATCH] Rename Traditional Graph to Graph Search and display times in seconds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Rename "Traditional Graph" to "Graph Search" throughout UI - Performance Metrics card label - Answer section badge - Console logging - Display query times in seconds instead of milliseconds - Pure RAG: 11.09s (was 11090.00ms) - Graph Search: 11.09s (was 11090.00ms) - GraphRAG: 11.09s (was 11090.00ms) The new name "Graph Search" better describes the functionality, and seconds provide more intuitive performance comparison. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- nvidia/txt2kg/assets/frontend/app/rag/page.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nvidia/txt2kg/assets/frontend/app/rag/page.tsx b/nvidia/txt2kg/assets/frontend/app/rag/page.tsx index 1806ba8..b7162db 100644 --- a/nvidia/txt2kg/assets/frontend/app/rag/page.tsx +++ b/nvidia/txt2kg/assets/frontend/app/rag/page.tsx @@ -197,7 +197,7 @@ export default function RagPage() { } // Call the LLM-enhanced graph query API - console.log('✅ Using Traditional Graph + LLM approach'); + console.log('✅ Using Graph Search + LLM approach'); queryMode = 'traditional'; // Get selected LLM model from localStorage @@ -373,19 +373,19 @@ export default function RagPage() { {metrics.queryTimesByMode['pure-rag'] !== undefined && (
Pure RAG: - {metrics.queryTimesByMode['pure-rag'].toFixed(2)}ms + {(metrics.queryTimesByMode['pure-rag'] / 1000).toFixed(2)}s
)} {metrics.queryTimesByMode['traditional'] !== undefined && (
- Traditional Graph: - {metrics.queryTimesByMode['traditional'].toFixed(2)}ms + Graph Search: + {(metrics.queryTimesByMode['traditional'] / 1000).toFixed(2)}s
)} {metrics.queryTimesByMode['vector-search'] !== undefined && (
GraphRAG: - {metrics.queryTimesByMode['vector-search'].toFixed(2)}ms + {(metrics.queryTimesByMode['vector-search'] / 1000).toFixed(2)}s
)} @@ -422,7 +422,7 @@ export default function RagPage() { {currentParams.queryMode === 'pure-rag' ? 'Pure RAG' : currentParams.queryMode === 'vector-search' ? 'GraphRAG' : - 'Traditional Graph'} + 'Graph Search'} )}