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