Skip to main content

Type Alias: GatewayInferenceInputChatCompletionRequestMessageContentPartText

type GatewayInferenceInputChatCompletionRequestMessageContentPartText = {
type: "text";
text: string;
};

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

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

Example​

`GatewayInferenceInputChatCompletionRequestMessageContentPartTextSchema.parse(value);`

Properties​

type​

type: "text";

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


text​

text: string;

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