Threshold Calibrator Block
Calibrate a similarity threshold from corpus embeddings via useCalibrateThreshold at percentile 90, over a selected embedding model and corpus, rendering the calibrated threshold versus the model's getDefaultThreshold preset, metadata, dist.

- Library
- LocalMode
- Framework
- React
- Type
- block
- License
- MIT
- Dependencies
- @localmode/core, @localmode/react, @localmode/transformers, lucide-react
- Install
npx shadcn add @localmode/ui/ui/blocks/text-insights/threshold-calibrator- Files
apps/ui/src/app/blocks/text-insights/threshold-calibrator/threshold-calibrator.tsxpackages/react/src/index.tspackages/core/src/index.tspackages/transformers/src/index.tsapps/ui/registry/localmode/results/threshold-calibration-panel/threshold-calibration-panel.tsxapps/ui/registry/localmode/local-first/model-loading-panel/model-loading-panel.tsxapps/ui/registry/localmode/local-first/cache-badge/cache-badge.tsxapps/ui/registry/localmode/results/error-alert/error-alert.tsx
- Source
- https://github.com/LocalMode-AI/LocalMode
Categories
- Bar List Components
- Tailwind CSS Bar List Components
- Chart Components
- React Chart Components
- Tailwind CSS Chart Components
- Data Display Components
- React Data Display Components
- Tailwind CSS Data Display Components
- Input Components
- React Input Components
- Tailwind CSS Input Components
- Slider Components