Class EmbeddingResponse
java.lang.Object
co.elastic.clients.elasticsearch.inference.EmbeddingResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected static JsonpDeserializer<EmbeddingResponse>final EmbeddingInferenceResultRequired - Response value.static EmbeddingResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this value to JSON.toString()
-
Field Details
-
_DESERIALIZER
-
-
Method Details
-
of
public static EmbeddingResponse of(Function<EmbeddingResponse.Builder, ObjectBuilder<EmbeddingResponse>> fn) -
inferenceResult
Required - Response value. -
serialize
Serialize this value to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
toString
-
createEmbeddingResponseDeserializer
-