Record Class TextEmbeddingBitResults

java.lang.Object
java.lang.Record
org.elasticsearch.xpack.core.inference.results.TextEmbeddingBitResults
All Implemented Interfaces:
NamedWriteable, Writeable, ChunkedToXContent, InferenceServiceResults, EmbeddingResults<TextEmbeddingByteResults.Embedding>, TextEmbeddingResults<TextEmbeddingByteResults.Embedding>

public record TextEmbeddingBitResults(List<TextEmbeddingByteResults.Embedding> embeddings) extends Record implements TextEmbeddingResults<TextEmbeddingByteResults.Embedding>
Writes a text embedding result in the follow json format { "text_embedding_bytes": [ { "embedding": [ 23 ] }, { "embedding": [ -23 ] } ] }