voyageai
Version:
[](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fvoyage-ai%2Ftypescript-sdk) [ • 671 B
TypeScript
/**
* This file was auto-generated by Fern from our API Definition.
*/
export interface EmbedResponseDataItem {
/** The object type, which is always "embedding". */
object?: string;
/** Each embedding is a vector represented as an array of `float` numbers when `output_dtype` is set to `float` and as an array of integers for all other values of `output_dtype` (`int8`, `uint8`, `binary`, and `ubinary`). The length of this vector varies depending on the specific model, `output_dimension`, and `output_dtype`. */
embedding?: number[];
/** An integer representing the index of the embedding within the list of embeddings. */
index?: number;
}