Module org.elasticsearch.xcore
Interface TextEmbedding
- All Known Implementing Classes:
InferenceTextEmbeddingByteResults,InferenceTextEmbeddingFloatResults
public interface TextEmbedding
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the first text embedding entry in the result list's array size.
-
Method Details
-
getFirstEmbeddingSize
Returns the first text embedding entry in the result list's array size.- Returns:
- the size of the text embedding
- Throws:
IllegalStateException- if the list of embeddings is empty
-