Type Alias: GatewayInferenceChatCompletionRequestFunctionMessage
type GatewayInferenceChatCompletionRequestFunctionMessage = {
[key: string]: unknown;
role: "function";
content: string | null;
name: string;
};
Defined in: src/models/ai-gateway-inference.ts:1783
Portkey ChatCompletionRequestFunctionMessage; additive response fields are preserved.
Example
`GatewayInferenceChatCompletionRequestFunctionMessageSchema.parse(value);`
Indexable
[key: string]: unknown
Properties
role
role: "function";
Defined in: src/models/ai-gateway-inference.ts:1784
content
content: string | null;
Defined in: src/models/ai-gateway-inference.ts:1785
name
name: string;
Defined in: src/models/ai-gateway-inference.ts:1786