Skip to main content

Type Alias: GatewayInferenceFunctionObject

type GatewayInferenceFunctionObject = {
[key: string]: unknown;
description?: string;
name: string;
parameters?: GatewayInferenceFunctionParameters;
strict?: boolean | null;
};

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

Portkey FunctionObject; additive response fields are preserved.

Example​

`GatewayInferenceFunctionObjectSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

description?​

optional description?: string;

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


name​

name: string;

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


parameters?​

optional parameters?: GatewayInferenceFunctionParameters;

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


strict?​

optional strict?: boolean | null;

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