Skip to main content

Type Alias: GatewayInferenceRefusal

type GatewayInferenceRefusal = {
[key: string]: unknown;
type: "refusal";
refusal: string;
};

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

Portkey Refusal; additive response fields are preserved.

Example​

`GatewayInferenceRefusalSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

type​

type: "refusal";

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


refusal​

refusal: string;

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