UNPKG

voyageai

Version:

[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fvoyage-ai%2Ftypescript-sdk) [![npm shield](

12 lines (11 loc) 671 B
/** * 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; }