Skip to main content

Type Alias: GatewayInferenceChatCompletionFunctions

type GatewayInferenceChatCompletionFunctions = {
[key: string]: unknown;
description?: string;
name: string;
parameters?: GatewayInferenceFunctionParameters;
};

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

Portkey ChatCompletionFunctions; additive response fields are preserved.

Example​

`GatewayInferenceChatCompletionFunctionsSchema.parse(value);`

Indexable​

[key: string]: unknown

Properties​

description?​

optional description?: string;

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


name​

name: string;

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


parameters?​

optional parameters?: GatewayInferenceFunctionParameters;

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