We are building an image generation pipeline and we want to score images outputted by LLMs. Our eval inputs are not strings, they are product/sku ids that are numeric. Currently, we have to cast our sku ids to strings. This isn't the end of the world, but I believe that more expressive types here would allow for more complicated eval scenarios beyond just text in and out.
This is a type error today:
describeEval('my-eval', {
data: async () => {
return [
{
input: 123 <-- number
},
We are building an image generation pipeline and we want to score images outputted by LLMs. Our eval inputs are not strings, they are product/sku ids that are numeric. Currently, we have to cast our sku ids to strings. This isn't the end of the world, but I believe that more expressive types here would allow for more complicated eval scenarios beyond just text in and out.
This is a type error today: