CustomFormModelInfo Klasse

Benutzerdefinierte Modellinformationen.

Neu in Version 2.1: Die Eigenschaften model_name und Eigenschaften , Unterstützung für to_dict und from_dict Methoden

Vererbung
builtins.object
CustomFormModelInfo

Konstruktor

CustomFormModelInfo(**kwargs: Any)

Methoden

from_dict

Konvertiert ein Diktat in der Form eines CustomFormModelInfo in das Modell selbst.

to_dict

Gibt eine Diktatdarstellung von CustomFormModelInfo zurück.

from_dict

Konvertiert ein Diktat in der Form eines CustomFormModelInfo in das Modell selbst.

from_dict(data: Dict) -> CustomFormModelInfo

Parameter

data
dict
Erforderlich

Ein Wörterbuch in der Form CustomFormModelInfo.

Gibt zurück

CustomFormModelInfo

Rückgabetyp

to_dict

Gibt eine Diktatdarstellung von CustomFormModelInfo zurück.

to_dict() -> Dict

Gibt zurück

dict

Rückgabetyp

Attribute

model_id

Der eindeutige Bezeichner des Modells.

model_id: str

model_name

Optionaler benutzerdefinierter Modellname.

model_name: str

properties

Optionale Modelleigenschaften.

properties: CustomFormModelProperties

status

Die status des Modells, CustomFormModelStatus. Mögliche Werte sind: "creating", "ready", "invalid".

status: str

training_completed_on

Datum und Uhrzeit (UTC) zum Abschluss des Modelltrainings.

training_completed_on: datetime

training_started_on

Datum und Uhrzeit (UTC), zu dem das Modelltraining gestartet wurde.

training_started_on: datetime