EmbeddingModel constructor

EmbeddingModel({
  1. EmbeddingModelId? id,
  2. StringValue? displayName,
  3. int? embeddingSize,
})

Implementation

factory EmbeddingModel({
  $0.EmbeddingModelId? id,
  $1.StringValue? displayName,
  $core.int? embeddingSize,
}) {
  final result = create();
  if (id != null) result.id = id;
  if (displayName != null) result.displayName = displayName;
  if (embeddingSize != null) result.embeddingSize = embeddingSize;
  return result;
}