Package com.azure.ai.openai.models
Class Embeddings
java.lang.Object
com.azure.ai.openai.models.Embeddings
Representation of the response data from an embeddings request.
Embeddings measure the relatedness of text strings and are commonly used for search, clustering,
recommendations, and other similar scenarios.
-
Method Details
-
getData
Get the data property: Embedding values for the prompts submitted in the request.- Returns:
- the data value.
-
getUsage
Get the usage property: Usage counts for tokens input using the embeddings API.- Returns:
- the usage value.
-