Module org.elasticsearch.xcore
Class TextEmbeddingUtils
java.lang.Object
org.elasticsearch.xpack.core.inference.results.TextEmbeddingUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidvalidateInputSizeAgainstEmbeddings(List<String> inputs, int embeddingSize) Throws an exception if the number of elements in the input text list is different than the results in text embedding response.
-
Method Details
-
validateInputSizeAgainstEmbeddings
Throws an exception if the number of elements in the input text list is different than the results in text embedding response.
-