CreateCompletionRequestPrompt class abstract

The prompt(s) to generate completions for, encoded as a string, array of strings, array of tokens, or array of token arrays. Note that <|endoftext|> is the document separator that the model sees during training, so if a prompt is not specified the model will generate as if from the beginning of a new document.

Annotations
  • @BuiltValue()

Properties

hashCode int
The hash code for this object.
no setterinherited
oneOf → OneOf
One Of BuiltList<BuiltList<int>>, BuiltList<String>, BuiltList<int>, String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(CreateCompletionRequestPromptBuilder)) CreateCompletionRequestPrompt
Rebuilds the instance.
inherited
toBuilder() CreateCompletionRequestPromptBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<CreateCompletionRequestPrompt>
no setter