BuildDocumentModelRequest interface

Request body to build a new custom document model.

Properties

allowOverwrite

Allow overwriting an existing model with the same name.

azureBlobFileListSource

Azure Blob Storage file list specifying the training data. Either azureBlobSource or azureBlobFileListSource must be specified.

azureBlobSource

Azure Blob Storage location containing the training data. Either azureBlobSource or azureBlobFileListSource must be specified.

buildMode

Custom document model build mode.

Possible values: "template", "neural"

description

Document model description.

maxTrainingHours

Max number of V100-equivalent GPU hours to use for model training. Default=0.5.

modelId

Unique document model name.

tags

List of key-value tag attributes associated with the document model.

Property Details

allowOverwrite

Allow overwriting an existing model with the same name.

allowOverwrite?: boolean

Property Value

boolean

azureBlobFileListSource

Azure Blob Storage file list specifying the training data. Either azureBlobSource or azureBlobFileListSource must be specified.

azureBlobFileListSource?: AzureBlobFileListContentSource

Property Value

azureBlobSource

Azure Blob Storage location containing the training data. Either azureBlobSource or azureBlobFileListSource must be specified.

azureBlobSource?: AzureBlobContentSource

Property Value

buildMode

Custom document model build mode.

Possible values: "template", "neural"

buildMode: string

Property Value

string

description

Document model description.

description?: string

Property Value

string

maxTrainingHours

Max number of V100-equivalent GPU hours to use for model training. Default=0.5.

maxTrainingHours?: number

Property Value

number

modelId

Unique document model name.

modelId: string

Property Value

string

tags

List of key-value tag attributes associated with the document model.

tags?: Record<string, string>

Property Value

Record<string, string>