feat: add analysisSource flag to show if local DB or neural network was used
This commit is contained in:
@@ -64,6 +64,11 @@ export const ReportDisplay: React.FC<ReportDisplayProps> = ({ report }) => {
|
||||
<div className="mt-0.5 bg-slate-50 dark:bg-slate-800/50 border border-slate-200 dark:border-slate-700 text-slate-700 dark:text-slate-300 px-2.5 py-1 rounded-full text-[10px] font-bold">
|
||||
{confidence}% <span className="text-[8px] text-slate-400 dark:text-slate-500 font-normal">IA-Score</span>
|
||||
</div>
|
||||
{report.analysisSource && (
|
||||
<span className="text-[7px] text-slate-400 mt-1 uppercase tracking-widest" title="Origem dos parâmetros de conformidade usados pela IA">
|
||||
{report.analysisSource === 'Banco Local' ? '🏦 Banco Local' : '🧠 Rede Neural'}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user