This message was deleted.
# ask-for-help
s
This message was deleted.
🍱 1
🏁 1
a
It worked after pip installing pydantic. I thought it is automatically imported.
Copy code
% bentoml env
`bentoml`: 1.0.7
`python`: 3.10.6
`platform`: macOS-10.16-x86_64-i386-64bit
`uid:gid`: 501:20
`conda`: 22.9.0
`in_conda_env`: True
a
Hi there, BentoML doesn’t ship with pydantic. If you want to use pydantic, we did mention here in our docs https://docs.bentoml.org/en/latest/reference/api_io_descriptors.html#structured-data-with-json
This PR will introduce the option to add pydantic along with bentoml https://github.com/bentoml/BentoML/pull/3114
Copy code
pip install bentoml[io-json]