All Known Implementing Classes:
InferenceTextEmbeddingByteResults, InferenceTextEmbeddingFloatResults

public interface TextEmbedding
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the first text embedding entry in the result list's array size.
  • Method Details

    • getFirstEmbeddingSize

      int getFirstEmbeddingSize() throws IllegalStateException
      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