Skip to main content

Type Alias: GatewayInferenceInputChatCompletionRequestSystemMessage

type GatewayInferenceInputChatCompletionRequestSystemMessage = {
content: string;
role: "system";
name?: string;
};

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

Portkey ChatCompletionRequestSystemMessage; strict modeled input with explicit JSON extension maps.

Example​

`GatewayInferenceInputChatCompletionRequestSystemMessageSchema.parse(value);`

Properties​

content​

content: string;

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


role​

role: "system";

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


name?​

optional name?: string;

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