system
此内容尚不支持你的语言。
function system(input, options?): object;Creates a system message entry
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
|
|
|
The system prompt. |
|
|
|
Any additional options that will be directly passed to the model. |
Returns
Section titled “Returns”object
A message entry.
content
Section titled “content”content: string;optional id: string;providerData?
Section titled “providerData?”optional providerData: Record<string, any>;role: "system";optional type: "message";