Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/chat/mod.ts>ChatCompletionContentPartImage

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
namespace ChatCompletionContentPartImage
import { ChatCompletionContentPartImage } from "https://deno.land/x/openai@v4.41.1/resources/chat/mod.ts";
interface ChatCompletionContentPartImage
import { type ChatCompletionContentPartImage } from "https://deno.land/x/openai@v4.41.1/resources/chat/mod.ts";

Properties

image_url: ChatCompletionContentPartImage.ImageURL
type: "image_url"

The type of the content part.