Select document type when initializing the ValidMind Library
frontend
26.03
enhancement
breaking change
ImportantBreaking change
Future releases will require you to specify the document parameter when initializing the ValidMind Library. Update your existing code snippets now to prevent a breaking change in the future.
On the inventory models getting started page, you now pick which document to connect to your model. This improves the onboarding workflow by establishing the document association earlier in the process.
import validmind as vm
vm.init(
api_host = "...",
api_key = "...",
api_secret = "...",
model = "...",
document = "..."
)