andy-stack_vaultkeeper-ai/AIClasses/FunctionDefinitions/IAIFunctionDefinition.ts

10 lines
No EOL
285 B
TypeScript

// platform agnostic function definition used to present function calls in an API call
export interface IAIFunctionDefinition {
name: string;
description: string;
parameters: {
type: string;
properties: Record<string, any>;
required?: string[];
};
}