Merge pull request #4222 from BerriAI/ui_show_exceptions

ui - show exceptions
This commit is contained in:
Ishaan Jaff 2024-06-15 15:50:48 -07:00 committed by GitHub
commit a0483ac0e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2080,6 +2080,24 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
</Card>
</Col>
</Grid>
<Grid numItems={1} className="gap-2 w-full mt-2">
<Card>
<Title>All Exceptions for {selectedModelGroup}</Title>
<BarChart
className="h-60"
data={modelExceptions}
index="model"
categories={allExceptions}
stack={true}
yAxisWidth={30}
/>
</Card>
</Grid>
<Grid numItems={1} className="gap-2 w-full mt-2">
<Card>
@ -2098,15 +2116,7 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
</Col>
<Col>
{/* <BarChart
className="h-40"
data={modelExceptions}
index="model"
categories={allExceptions}
stack={true}
yAxisWidth={30}
/> */}
</Col>