EditRequest class
Properties
-
copyWith
→ $EditRequestCopyWith<EditRequest>
-
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
input
→ String?
-
The input text to use as a starting point for the edit.
no setterinherited
-
instruction
→ String
-
The instruction that tells the model how to edit the prompt.
no setterinherited
-
model
→ String?
-
ID of the model to use. You can use the
List models API
to see all of your available models, or see our
Model overview
for descriptions of them.
no setterinherited
-
n
→ int?
-
How many edits to generate for the input and instruction.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
temperature
→ double?
-
What sampling temperature
to use. Higher values means the model will take more risks.
no setterinherited
-
topP
→ double?
-
no setterinherited