n8n/packages/@n8n/nodes-langchain/nodes/vendors/OpenAi/OpenAi.node.ts
कारतोफ्फेलस्क्रिप्ट™ 2ce1644d01
refactor(core): Shovel around more of AI code (no-changelog) (#12218)
2024-12-16 13:46:19 +01:00

19 lines
438 B
TypeScript

import type { IExecuteFunctions, INodeType } from 'n8n-workflow';
import { router } from './actions/router';
import { versionDescription } from './actions/versionDescription';
import { listSearch, loadOptions } from './methods';
export class OpenAi implements INodeType {
description = versionDescription;
methods = {
listSearch,
loadOptions,
};
async execute(this: IExecuteFunctions) {
return await router.call(this);
}
}