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

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

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
type alias CreateChatCompletionRequestMessage
Deprecated
Deprecated

ChatCompletionMessageParam should be used instead

import { type CreateChatCompletionRequestMessage } from "https://deno.land/x/openai@v4.64.0/resources/chat/mod.ts";
deprecated
definition: ChatCompletionMessageParam