Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/openai_deno/mod.ts>MessageRaw

OpenAI API wrapper for deno.
Latest
interface MessageRaw
implements HasMetadata
Re-export
import { type MessageRaw } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";

Properties

id: string
object: "thread.message"
created_at: number
thread_id: string
role: "user" | "assistant"
content: ({ type: "image_file"; image_file: { file_id: string; }; } | { type: "text"; text: { value: string; annotations: ({ type: "file_citation"; text: string; file_citation: { file_id: string; quote: string; }; start_index: number; end_index: number; } | { type: "file_path"; text: string; file_path: { file_id: string; }; start_index: number; end_index: number; })[]; }; })[]
optional
assistant_id: string | null
optional
run_id: string | null
file_ids: string[]