Sep 13 2020 02:01 PM - edited Sep 13 2020 02:03 PM
Hi there!
We get a Swagger API definition error when we export a trained brain. We observed that this occurs only when the observations are an array.
Screenshots attached
We can provide you with the web app address.
Thank you.
Sep 18 2020 04:14 PM - edited Sep 18 2020 04:15 PM
@antoniosmakro, thank you for reaching out about this issue! I checked with the team and learned there's a bug in the code that's parsing your Inkling file to generate the swagger JSON document. The bug is specific to arrays. The team is working on a fix which will be available Oct 5. In the meantime, hand fixing the JSON doc is a temporary remedy.
Once the fix is in place, we recommend performing another export to replace your current exported brain with the fixed one. This will help ensure it doesn't happen again.
Thanks again for reporting this and for trying Bonsai! Let us know if we can support further. - Hilary