Light Logo
JavaScript SDK (v0.56.0)Reference

CreateModelParams

Parameters for creating a model.

Interface: CreateModelParams

Parameters for creating a model.

Extends

Properties

category_slugs?

optional category_slugs: string[]

List of model category slugs.


description?

optional description: string

Description of the model.


license_url?

optional license_url: string

License url where the model's usage is specified.


name

name: string

The name of the model.


overview?

optional overview: null | string

The overview of the model.


paper_url?

optional paper_url: string

Paper url from where research info on the model can be found.


signal?

optional signal: AbortSignal

Optional AbortSignal to cancel the call.

Inherited from

CallOptions.signal


source_url?

optional source_url: string

Source url from where the model's code can be referenced.


visibility?

optional visibility: ModelVisibility

The visibility of the model.