EmbedderInput class final
One embedding request: text, images and audio, embedded as one vector.
- Annotations
-
- @immutable
Constructors
-
EmbedderInput({String? text, List<
Uint8List> images = const [], Uint8List? audio}) -
imagesis copied into an unmodifiable list (the bytes are not).
Properties
- audio → Uint8List?
-
One encoded audio clip (WAV, MP3, FLAC).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
images
→ List<
Uint8List> -
Encoded images (JPEG, PNG, GIF, BMP), in order.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
The text, its task prefix already in front of it.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited