Skip to main content

Create a new correction session.

If no documents are given, they will be randomly chosen.

Path Parameters
  • project_id integer required

    ID of the project

Request Body required
  • model_id integer required

    ID of the model

  • sample_size integer

    Sample size

  • name string

    Name of the correction session

Responses

Correction was created


Schema
  • created date-time

    When the session was started.

  • finished date-time

    When the session was finished.

  • document_count integer

    Total of documents

  • document_group_id integer

    ID of the document group related to the session, if any

  • organization_id integer

    ID of the organization to which the session belongs.

  • user_id integer

    ID of the user to which the session belongs.

  • project_id integer

    ID of the project to which the session belongs.

  • uuid uuid

    The unique ID of the session.

  • id integer

    The ID of the session.

  • name string

    The session's name.

  • progress float

    The session's progress.

  • model object

    The model that is being improved

  • id integer

    The ID of the model.

  • display_name string

    The model's display_name.

  • status string

    Possible values: [CREATED, STARTED, ANNOTATING, FAILED, FINISHED, SAMPLING, PREDICTING, DELETING]

    The session's status.

  • mode string

    Possible values: [CORRECTION]

    The session's mode.

  • type string

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

    The session's classification type.

  • description string

    The session's description.

  • classes string[]

    All classes that belong to the session

  • labels string[]

    All labels that belong to the session

  • predicted_score integer

    The projected new score

Loading...