跳转到内容

system

此内容尚不支持你的语言。

function system(input, options?): object;

Creates a system message entry

Parameter Type Description

input

string

The system prompt.

options?

Record<string, any>

Any additional options that will be directly passed to the model.

object

A message entry.

content: string;
optional id?: string;
optional providerData?: Record<string, any>;
role: "system";
optional type?: "message";