I am using the API to generate a list of objects to insert in my database. these objects are interlinked so I want the model to create unique uuid and use them in objects. I instructed the model to do so, but it often returns incorrect IDs syntax-wise. I can create a workaround on my end, but would prefer the model to create its own correct ids. what is a good way to achieve this?
No. Nor would you want it to.
If you want to create a UUID you should either follow database standards or use a combination of the objects properties to ensure the UUID.