EmbeddingsResponse constructor

EmbeddingsResponse({
  1. required Object? object,
  2. required Object? model,
  3. List<Embedding> data = const [],
})

Returns a new EmbeddingsResponse instance.

Implementation

EmbeddingsResponse({
  required this.object,
  required this.model,
  this.data = const [],
});