Skip to content

Conditional type safety for score #1637

Closed
A-Vamshi wants to merge 1 commit intoconfident-ai:mainfrom
A-Vamshi:aggregateScoreInImageCoherence
Closed

Conditional type safety for score #1637
A-Vamshi wants to merge 1 commit intoconfident-ai:mainfrom
A-Vamshi:aggregateScoreInImageCoherence

Conversation

@A-Vamshi
Copy link
Copy Markdown
Collaborator

Fixed the TypeError from the issue #1629
Aggregated the score if it is an instance of list to average of the scores

@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2025

Someone is attempting to deploy a commit to the Confident AI Team on Vercel.

A member of the Team first needs to authorize it.

@penguine-ip
Copy link
Copy Markdown
Contributor

@A-Vamshi actually i fixed it in here already: 1b52189#diff-cac10f0ffab564dfa6232eaf44643f86e3054ef8ba85187eea12261b2ddd07d6

the problem was the schema for some should be score: float instead of score: List[float] but there was a copy and paste error when building it initially :)

@A-Vamshi
Copy link
Copy Markdown
Collaborator Author

@penguine-ip ah gotcha, sorry I didn't check the schema, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants