factory EmbedTextRequest.fromJson(Map<String, dynamic> json) { return EmbedTextRequest( model: json['model'] ?? '', text: json['text'] ?? '', ); }