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](

14 lines (13 loc) 819 B
/** * This file was auto-generated by Fern from our API Definition. */ export interface MultimodalEmbedRequestInputsItemContentItem { /** Specifies the type of the piece of the content. Allowed values are `text`, `image_url`, or `image_base64`. */ type: string; /** Only present when type is `text`. The value should be a text string. */ text?: string; /** Only present when type is `image_base64`. The value should be a Base64-encoded image in the data URL format `data:[<mediatype>];base64,<data>`. Currently supported mediatypes are: `image/png`, `image/jpeg`, `image/webp`, and `image/gif`. */ imageBase64?: string; /** Only present when `type` is `image_url`. The value should be a URL linking to the image. We support PNG, JPEG, WEBP, and GIF images. */ imageUrl?: string; }