EmbeddingsResultOutput 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. |
model | The model ID used to generate this result. |
usage | Usage counts for tokens input using the embeddings API. |
Property Details
data
Embedding values for the prompts submitted in the request.
data: EmbeddingItemOutput[]
Property Value
model
The model ID used to generate this result.
model: string
Property Value
string
usage
Usage counts for tokens input using the embeddings API.
usage: EmbeddingsUsageOutput
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