CreateClassificationRequest constructor
CreateClassificationRequest({
- required String model,
- required String query,
- List<
List< ? examples = const [],String> > - String? file,
- List<
String> ? labels = const [], - String? searchModel = 'ada',
- num? temperature = 0,
- int? logprobs,
- int? maxExamples = 200,
- Object? logitBias,
- bool? returnPrompt = false,
- bool? returnMetadata = false,
- List<
Object> ? expand = const [], - String? user,
Returns a new CreateClassificationRequest instance.
Implementation
CreateClassificationRequest({
required this.model,
required this.query,
this.examples = const [],
this.file,
this.labels = const [],
this.searchModel = 'ada',
this.temperature = 0,
this.logprobs,
this.maxExamples = 200,
this.logitBias,
this.returnPrompt = false,
this.returnMetadata = false,
this.expand = const [],
this.user,
});