kpfadnis commited on
Commit
ab4e572
·
1 Parent(s): 19ed471

fix (Predictions Table): Removing invalid check for target.

Browse files
README.md CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  # InspectorRAGet
2
 
3
  InspectorRAGet, an introspection platform for RAG evaluation. InspectorRAGet allows the user to analyze aggregate and instance-level performance of RAG systems, using both human and algorithmic metrics as well as annotator quality.
 
1
+ ---
2
+ title: InspectorRAGet
3
+ sdk: docker
4
+ app_port: 3000
5
+ pinned: true
6
+ ---
7
+
8
  # InspectorRAGet
9
 
10
  InspectorRAGet, an introspection platform for RAG evaluation. InspectorRAGet allows the user to analyze aggregate and instance-level performance of RAG systems, using both human and algorithmic metrics as well as annotator quality.
src/views/predictions-table/PredictionsTable.tsx CHANGED
@@ -90,7 +90,7 @@ function populateTableRows(
90
  }
91
 
92
  // Step 2.b: Add first target, if present
93
- if (task.targets && !isEmpty(task.targets) && task.targets[0].text) {
94
  row['targets'] = task.targets
95
  .map((target) => [target.text])
96
  .filter((entry) => entry !== undefined);
 
90
  }
91
 
92
  // Step 2.b: Add first target, if present
93
+ if (task.targets && !isEmpty(task.targets)) {
94
  row['targets'] = task.targets
95
  .map((target) => [target.text])
96
  .filter((entry) => entry !== undefined);