Embeddings interface
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.
Properties
data | Embedding values for the prompts submitted in the request. |
usage | Usage counts for tokens input using the embeddings API. |
Property Details
data
Embedding values for the prompts submitted in the request.
data: EmbeddingItem[]
Property Value
usage
Usage counts for tokens input using the embeddings API.
usage: EmbeddingsUsage
Property Value
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for JavaScript