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

x/openai/resources/chat/completions.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.28.5/resources/chat/completions.ts";
deprecated
definition: ChatCompletionMessageParam