n8n-nodes-g4f
Version:
An n8n node to interact with the g4f (GPT-4-Free) API.
12 lines (11 loc) • 548 B
TypeScript
import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription, INodePropertyOptions, ILoadOptionsFunctions } from 'n8n-workflow';
export declare class G4f implements INodeType {
description: INodeTypeDescription;
methods: {
loadOptions: {
getProviders(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getModels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
};
};
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
}