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. |
id | Unique identifier for the embeddings result. |
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
id
Unique identifier for the embeddings result.
id: string
Property Value
string
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
Azure SDK for JavaScript