Package com.azure.ai.openai.models
Class EmbeddingItem
java.lang.Object
com.azure.ai.openai.models.EmbeddingItem
Representation of a single embeddings relatedness comparison.
-
Method Summary
Modifier and TypeMethodDescriptionGet the embedding property: List of embeddings value for the input prompt.intgetIndex()Get the index property: Index of the prompt to which the EmbeddingItem corresponds.
-
Method Details
-
getEmbedding
Get the embedding property: List of embeddings value for the input prompt. These represent a measurement of the vector-based relatedness of the provided input.- Returns:
- the embedding value.
-
getIndex
public int getIndex()Get the index property: Index of the prompt to which the EmbeddingItem corresponds.- Returns:
- the index value.
-