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

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

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

Properties

content: string

The contents of the system message.

role: "system"

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

optional
name: string

An optional name for the participant. Provides the model information to differentiate between participants of the same role.