dispatch(setModalStates(ModalEnum.RECORD_COMMENTS, { commentsData: recordComments[record.id], open: true }))}>
-
+
}
diff --git a/src/components/projects/projectId/data-browser/SearchGroups.tsx b/src/components/projects/projectId/data-browser/SearchGroups.tsx
index a5c15cc8..6fdec082 100644
--- a/src/components/projects/projectId/data-browser/SearchGroups.tsx
+++ b/src/components/projects/projectId/data-browser/SearchGroups.tsx
@@ -678,12 +678,12 @@ export default function SearchGroups() {
CONFIDENCE BETWEEN
- changeConfidence(e, 'lower', group.key, 'weakSupervisionConfidence')}
value={fullSearchStore[group.key].groupElements['weakSupervisionConfidence'] ? fullSearchStore[group.key].groupElements['weakSupervisionConfidence']['lower'] : 0}
className="h-8 w-11 text-sm border-gray-300 rounded-md placeholder-italic border text-gray-900 pl-2 placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-gray-300 focus:ring-offset-2 focus:ring-offset-gray-100 disabled:opacity-50 disabled:cursor-not-allowed" />
% AND
- changeConfidence(e, 'upper', group.key, 'weakSupervisionConfidence')}
value={fullSearchStore[group.key].groupElements['weakSupervisionConfidence'] ? fullSearchStore[group.key].groupElements['weakSupervisionConfidence']['upper'] : 100}
className="h-8 w-11 text-sm border-gray-300 rounded-md placeholder-italic border text-gray-900 pl-2 placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-gray-300 focus:ring-offset-2 focus:ring-offset-gray-100 disabled:opacity-50 disabled:cursor-not-allowed" />
diff --git a/src/components/projects/projectId/heuristics/heuristicId/active-learning/ActiveLearning.tsx b/src/components/projects/projectId/heuristics/heuristicId/active-learning/ActiveLearning.tsx
index a59d2cc8..8dbb0425 100644
--- a/src/components/projects/projectId/heuristics/heuristicId/active-learning/ActiveLearning.tsx
+++ b/src/components/projects/projectId/heuristics/heuristicId/active-learning/ActiveLearning.tsx
@@ -2,7 +2,7 @@ import { useDispatch, useSelector } from "react-redux";
import HeuristicsLayout from "../shared/HeuristicsLayout";
import { useRouter } from "next/router";
import { selectProjectId } from "@/src/reduxStore/states/project";
-import { Fragment, useCallback, useEffect, useState } from "react";
+import { Fragment, useCallback, useEffect, useMemo, useState } from "react";
import { selectHeuristic, setActiveHeuristics, updateHeuristicsState } from "@/src/reduxStore/states/pages/heuristics";
import { getClassLine, postProcessCurrentHeuristic, postProcessLastTaskLogs } from "@/src/util/components/projects/projectId/heuristics/heuristicId/heuristics-details-helper";
import { TOOLTIPS_DICT } from "@/src/util/tooltip-constants";
@@ -204,6 +204,11 @@ export default function ActiveLearning() {
const orgId = useSelector(selectOrganizationId);
useWebsocket(orgId, Application.REFINERY, CurrentPage.ACTIVE_LEARNING, handleWebsocketNotification, projectId);
+ const bricksUrlExtension = useMemo(() => {
+ if (currentHeuristic?.labelingTaskType == 'INFORMATION_EXTRACTION') return 'extractors';
+ return "classifiers"
+ }, [currentHeuristic?.labelingTaskType]);
+
return (
updateSourceCodeToDisplay(code)}>
@@ -252,7 +257,7 @@ export default function ActiveLearning() {
)}
-
+