EmbeddingItemOutput interface
Representation of a single embeddings relatedness comparison.
Properties
embedding | List of embedding values for the input prompt. These represent a measurement of the vector-based relatedness of the provided input. Or a base64 encoded string of the embedding vector. |
index | Index of the prompt to which the EmbeddingItem corresponds. |
Property Details
embedding
List of embedding values for the input prompt. These represent a measurement of the vector-based relatedness of the provided input. Or a base64 encoded string of the embedding vector.
embedding: string | number[]
Property Value
string | number[]
index
Index of the prompt to which the EmbeddingItem corresponds.
index: number
Property Value
number
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