CreateEmbeddingRequestInput class abstract

Input text to get embeddings for, encoded as a string or array of tokens. To get embeddings for multiple inputs in a single request, pass an array of strings or array of token arrays. Each input must not exceed 8192 tokens in length.

Annotations
  • @BuiltValue()

Constructors

CreateEmbeddingRequestInput([void updates(CreateEmbeddingRequestInputBuilder b)])
factory

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(CreateEmbeddingRequestInputBuilder)) CreateEmbeddingRequestInput
Rebuilds the instance.
inherited
toBuilder() CreateEmbeddingRequestInputBuilder
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<CreateEmbeddingRequestInput>
no setter