Interface CallableFunction<P, R>
Type Parameters
- P extends z.ZodTypeAny = any
- R = any
Properties
description
description: string
execute
execute: ((args) => PromiseLike<R>) Type declaration
- (args): PromiseLike<R>
Returns PromiseLike<R>
parameters
parameters: OpenAIFunctionParameters | P
A definition for a function callable by the LLM.