Class TextEmbeddingByteResult
java.lang.Object
co.elastic.clients.elasticsearch.inference.TextEmbeddingByteResult
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class TextEmbeddingByteResult
extends Object
implements JsonpSerializable
The text embedding result object for byte representation
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<TextEmbeddingByteResult>
Json deserializer forTextEmbeddingByteResult
-
Method Summary
Modifier and TypeMethodDescriptionRequired - API name:embedding
static TextEmbeddingByteResult
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forTextEmbeddingByteResult
-
-
Method Details
-
of
public static TextEmbeddingByteResult of(Function<TextEmbeddingByteResult.Builder, ObjectBuilder<TextEmbeddingByteResult>> fn) -
embedding
Required - API name:embedding
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTextEmbeddingByteResultDeserializer
protected static void setupTextEmbeddingByteResultDeserializer(ObjectDeserializer<TextEmbeddingByteResult.Builder> op)
-