ClassificationApiParameters class

Annotations
  • @JsonSerializable.new(createFactory: false)

Constructors

ClassificationApiParameters(String model, String query, {List<List<String>>? examples, String? file, List<String>? labels, String searchModel = 'ada', num temperature = 0, int? logprobs, int maxExamples = 200, Map<String, num>? logitBias, bool returnPrompt = false, bool returnMetadata = false, List<String>? expand})

Properties

examples List<List<String>>?
final
expand List<String>?
final
file String?
final
hashCode int
The hash code for this object.
no setterinherited
labels List<String>?
final
logitBias Map<String, num>?
final
logprobs int?
final
maxExamples int
final
model String
final
query String
final
returnMetadata bool
final
returnPrompt bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchModel String
final
temperature num
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited