Skip to main content

Type Alias: GatewayInferenceChatCompletionRequestSystemMessage

type GatewayInferenceChatCompletionRequestSystemMessage = {
[key: string]: unknown;
content: string;
role: "system";
name?: string;
};

Defined in: src/models/ai-gateway-inference.ts:1647

Portkey ChatCompletionRequestSystemMessage; additive response fields are preserved.

Example​

`GatewayInferenceChatCompletionRequestSystemMessageSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

content​

content: string;

Defined in: src/models/ai-gateway-inference.ts:1648


role​

role: "system";

Defined in: src/models/ai-gateway-inference.ts:1649


name?​

optional name?: string;

Defined in: src/models/ai-gateway-inference.ts:1650