LookingSimilarQuery constructor

const LookingSimilarQuery({
  1. required String indexName,
  2. required double threshold,
  3. int? maxRecommendations,
  4. RecommendSearchParams? queryParameters,
  5. required LookingSimilarModel model,
  6. required String objectID,
  7. FallbackParams? fallbackParameters,
})

Returns a new LookingSimilarQuery instance.

Implementation

const LookingSimilarQuery({
  required this.indexName,
  required this.threshold,
  this.maxRecommendations,
  this.queryParameters,
  required this.model,
  required this.objectID,
  this.fallbackParameters,
});