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()
Constructors
- CreateCompletionRequestPrompt([void updates(CreateCompletionRequestPromptBuilder b)])
-
factory
Properties
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