Skip to content

Renaming of POSTed JSON parameters #1

@kdavis-coqui

Description

@kdavis-coqui

Could we rename the POSTed parameters from

{
        "name": "test_model",
        "language": "english",
        "version": "0.0.1",
        "creator": "reuben",
        "acoustic": "https://github.com/coqui-ai/STT-models/releases/download/english/coqui/v0.9.3/model.pbmm",
        "scorer": "https://github.com/coqui-ai/STT/releases/download/v0.9.3/coqui-stt-0.9.3-models.scorer"
}

to

{
        "name": "test_model",
        "language": "english",
        "modelVersion": "0.0.1",
        "modelCreator": "reuben",
        "acousticModelURL": "https://github.com/coqui-ai/STT-models/releases/download/english/coqui/v0.9.3/model.pbmm",
        "scorerURL": "https://github.com/coqui-ai/STT/releases/download/v0.9.3/coqui-stt-0.9.3-models.scorer"
}

Just to be more specific, as there are model versions and code version, code creators and model creators, and "acoustic" isn't the model but its URL similarly for "scorer".

Also as a suggestion we should also add the code version too, e.g. something like

{
        ...
        "codeVersion": "0.9.3",
        ...
}

to help with future proofing things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions