Spaces:
Running
Running
Commit ·
f7874af
1
Parent(s): 653d9a8
fix: update UI labels to accurately reflect Gemini 3.1 Flash as the active RAGAS judge
Browse files
RAG_FULL_APPLICATION_FRONTEND/src/components/TechniqueSelector.jsx
CHANGED
|
@@ -9,7 +9,7 @@ const techniques = [
|
|
| 9 |
{ id: 'colbert', name: 'ColBERT', desc: 'Token MaxSim', color: 'border-red-500', icon: Layers, badge: 'MaxSim' },
|
| 10 |
{ id: 'agentic', name: 'Agentic RAG', desc: 'Multimodal Reasoning', color: 'border-blue-600', icon: Cpu, badge: 'Multimodal' },
|
| 11 |
{ id: 'cache', name: 'Cache', desc: 'Redis Query Cache', color: 'border-gray-500', icon: Database, badge: 'Sub-50ms' },
|
| 12 |
-
{ id: 'ragas', name: 'RAGAS Eval', desc: '
|
| 13 |
];
|
| 14 |
|
| 15 |
export default function TechniqueSelector({ selected, onSelect }) {
|
|
|
|
| 9 |
{ id: 'colbert', name: 'ColBERT', desc: 'Token MaxSim', color: 'border-red-500', icon: Layers, badge: 'MaxSim' },
|
| 10 |
{ id: 'agentic', name: 'Agentic RAG', desc: 'Multimodal Reasoning', color: 'border-blue-600', icon: Cpu, badge: 'Multimodal' },
|
| 11 |
{ id: 'cache', name: 'Cache', desc: 'Redis Query Cache', color: 'border-gray-500', icon: Database, badge: 'Sub-50ms' },
|
| 12 |
+
{ id: 'ragas', name: 'RAGAS Eval', desc: 'Gemini 3.1 Flash Judge', color: 'border-emerald-500', icon: Award, badge: 'RAGAS Score' },
|
| 13 |
];
|
| 14 |
|
| 15 |
export default function TechniqueSelector({ selected, onSelect }) {
|
RAG_FULL_APPLICATION_FRONTEND/src/pages/RagasEvalPage.jsx
CHANGED
|
@@ -57,12 +57,12 @@ export default function RagasEvalPage() {
|
|
| 57 |
RAGAS Quality & AI Evaluation Laboratory
|
| 58 |
</h1>
|
| 59 |
<p className="text-sm text-gray-400 mt-1">
|
| 60 |
-
Automated regression testing powered by
|
| 61 |
</p>
|
| 62 |
</div>
|
| 63 |
|
| 64 |
<span className="text-xs font-mono font-bold bg-emerald-500/10 text-emerald-400 px-3 py-1.5 rounded-full border border-emerald-500/20 flex items-center gap-2">
|
| 65 |
-
<Cpu className="w-4 h-4" />
|
| 66 |
</span>
|
| 67 |
</div>
|
| 68 |
|
|
@@ -98,7 +98,7 @@ export default function RagasEvalPage() {
|
|
| 98 |
className="w-full btn-accent py-3 font-bold text-xs flex items-center justify-center gap-2 bg-emerald-600 hover:bg-emerald-500 disabled:opacity-40"
|
| 99 |
>
|
| 100 |
<Play className="w-4 h-4 fill-white" />
|
| 101 |
-
{isEvaluating ? '
|
| 102 |
</button>
|
| 103 |
</div>
|
| 104 |
</div>
|
|
@@ -154,7 +154,7 @@ export default function RagasEvalPage() {
|
|
| 154 |
|
| 155 |
{/* Raw Reasoning */}
|
| 156 |
<div className="bg-surface-900 p-4 rounded-xl border border-surface-800 space-y-2">
|
| 157 |
-
<span className="text-[10px] font-mono font-bold text-gray-400 uppercase block">
|
| 158 |
<pre className="text-xs text-gray-300 font-mono whitespace-pre-wrap leading-relaxed max-h-[250px] overflow-y-auto custom-scrollbar">
|
| 159 |
{evalResult.raw_answer}
|
| 160 |
</pre>
|
|
|
|
| 57 |
RAGAS Quality & AI Evaluation Laboratory
|
| 58 |
</h1>
|
| 59 |
<p className="text-sm text-gray-400 mt-1">
|
| 60 |
+
Automated regression testing powered by Gemini 3.1 Flash LLM Judge. Evaluates Faithfulness, Relevancy, Precision, and Recall.
|
| 61 |
</p>
|
| 62 |
</div>
|
| 63 |
|
| 64 |
<span className="text-xs font-mono font-bold bg-emerald-500/10 text-emerald-400 px-3 py-1.5 rounded-full border border-emerald-500/20 flex items-center gap-2">
|
| 65 |
+
<Cpu className="w-4 h-4" /> Gemini 3.1 Flash Active Judge
|
| 66 |
</span>
|
| 67 |
</div>
|
| 68 |
|
|
|
|
| 98 |
className="w-full btn-accent py-3 font-bold text-xs flex items-center justify-center gap-2 bg-emerald-600 hover:bg-emerald-500 disabled:opacity-40"
|
| 99 |
>
|
| 100 |
<Play className="w-4 h-4 fill-white" />
|
| 101 |
+
{isEvaluating ? 'Gemini 3.1 Flash Evaluating RAGAS Metrics...' : 'Run Automated RAGAS Quality Evaluation'}
|
| 102 |
</button>
|
| 103 |
</div>
|
| 104 |
</div>
|
|
|
|
| 154 |
|
| 155 |
{/* Raw Reasoning */}
|
| 156 |
<div className="bg-surface-900 p-4 rounded-xl border border-surface-800 space-y-2">
|
| 157 |
+
<span className="text-[10px] font-mono font-bold text-gray-400 uppercase block">Gemini 3.1 Flash Evaluation Reasoning Output:</span>
|
| 158 |
<pre className="text-xs text-gray-300 font-mono whitespace-pre-wrap leading-relaxed max-h-[250px] overflow-y-auto custom-scrollbar">
|
| 159 |
{evalResult.raw_answer}
|
| 160 |
</pre>
|