-
Hi BentoML team! When I take a look at new feature in BentoML 1.0, found the pydantic model can be used in JSON I/O adaptor. As I know, the Input can be checked whether it is valid using Custom pydantic model. I wonder how can the pydantic model work in JSON Output adaptor. Please let me know if I'm missing anything.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, @chlee1016 😄 |
Beta Was this translation helpful? Give feedback.
Hi, @chlee1016 😄
I definitely think this is a bug. The JSON IO Descriptor should validate the output json data using a pydantic model for the outputs. Please contribute to solving this before releasing v1.0 if you have time.