Skip to main content

Update a model that belongs to a project.

Updates meta data of a model. All model's attributes can be changed:

Path Parameters
  • project_id integer required

    ID of the project

  • model_id integer required

    ID of the model

Request Body required
  • base string

    the name of the model used to create the modal that's being changed

  • created date-time

    creation date

  • display_name string

    a friendly name.

  • uuid uuid

    model unique identifier. Should be a UUID value

  • id integer

    Possible values: >= 1

    The ID of the model

  • language string

    Possible values: [en, de, ar]

  • long_description string

    a longer description which proper describes the model

  • name string

    internal name. It should be unique for a workspace

  • owner string
  • progress float
  • project_id integer

    The ID of the project

  • score float

    model score. As this is a result of a training session, this value shouldn't be touched

  • short_description string

    a short description to help users quickly identify the model

  • status string

    Possible values: [CREATED, QUEUED, TRAINING, FAILED, READY, ACTIVE, PUBLISHED]

    the model status

  • type string

    Possible values: [ABSA, CLASS, LABEL, CLASSLABEL]

    model type (1: BASE, 2: ABSA, 3: LABEL, 4: CLASS, 5: CLASSLABEL))

Responses

OK


Schema
  • base string

    the name of the model used to create the modal that's being changed

  • created date-time

    creation date

  • display_name string

    a friendly name.

  • uuid uuid

    model unique identifier. Should be a UUID value

  • id integer

    Possible values: >= 1

    The ID of the model

  • language string

    Possible values: [en, de, ar]

  • long_description string

    a longer description which proper describes the model

  • name string

    internal name. It should be unique for a workspace

  • owner string
  • progress float
  • project_id integer

    The ID of the project

  • score float

    model score. As this is a result of a training session, this value shouldn't be touched

  • short_description string

    a short description to help users quickly identify the model

  • status string

    Possible values: [CREATED, QUEUED, TRAINING, FAILED, READY, ACTIVE, PUBLISHED]

    the model status

  • type string

    Possible values: [ABSA, CLASS, LABEL, CLASSLABEL]

    model type (1: BASE, 2: ABSA, 3: LABEL, 4: CLASS, 5: CLASSLABEL))

Loading...