Skip to main content
Module

x/openai/resources/chat/completions.ts>ChatCompletionUserMessageParam

Deno build of the official Typescript library for the OpenAI API. Source: https://github.com/openai/openai-node
Extremely Popular
Go to Latest
interface ChatCompletionUserMessageParam
import { type ChatCompletionUserMessageParam } from "https://deno.land/x/openai@v4.19.0/resources/chat/completions.ts";

Properties

content: string | Array<ChatCompletionContentPart> | null

The contents of the user message.

role: "user"

The role of the messages author, in this case user.