MockEmbeddingModelV3<VALUE> constructor

MockEmbeddingModelV3<VALUE>({
  1. required List<double> embedding,
  2. EmbeddingModelV2Usage? usage,
  3. Object? doEmbedError,
  4. String provider = 'mock',
  5. String modelId = 'mock-embedding-model',
})

Implementation

MockEmbeddingModelV3({
  required this.embedding,
  this.usage,
  this.doEmbedError,
  this.provider = 'mock',
  this.modelId = 'mock-embedding-model',
});