Skip to main content
Version: v2.0

init(id:name:description:supplier:version:license:privacy:pricing:networking:)

Creates a new MLModel instance with the provided parameters.

Declaration

init(id: String, name: String, description: String, supplier: Supplier, version: String, license: License? = nil, privacy: Privacy? = nil, pricing: Pricing, networking: Networking)

Parameters

id

Unique identifier for the model.

name

Name of the model.

description

Description of the model’s functionality.

supplier

The entity that provides the model.

version

Version of the model.

license

Optional license information associated with the model.

privacy

Optional privacy information associated with the model.

pricing

Information about the model’s pricing.