콘텐츠로 이동

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";