AnswerApiParameters class

Annotations
  • @JsonSerializable.new(createFactory: false)

Constructors

AnswerApiParameters(String model, String question, List<List<String>> examples, String examplesContext, {List<String>? documents, String? file, String searchModel = 'ada', int maxRerank = 200, num temperature = 0, int? logprobs, int maxTokens = 16, List<String>? stop, int n = 1, Map<String, num>? logitBias, bool returnMetadata = false, bool returnPrompt = false, List<String>? expand})

Properties

documents → List<String>?
final
examples → List<List<String>>
final
examplesContext → String
final
expand → List<String>?
final
file → String?
final
hashCode → int
The hash code for this object.
no setterinherited
logitBias → Map<String, num>?
final
logprobs → int?
final
maxRerank → int
final
maxTokens → int
final
model → String
final
n → int
final
question → String
final
returnMetadata → bool
final
returnPrompt → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchModel → String
final
stop → List<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