Interface Tool

interface Tool {
    execute: ((parameters) => any);
    schema: ChatCompletionTool;
}

Properties

Properties

execute: ((parameters) => any)

Type declaration

    • (parameters): any
    • Parameters

      • parameters: any

      Returns any

schema: ChatCompletionTool