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