UNPKG

@n8n/n8n-nodes-langchain

Version:
19 lines (18 loc) 743 B
import { type INodeProperties, type INodeType, type INodeTypeDescription, type ISupplyDataFunctions, type SupplyData } from 'n8n-workflow'; import { searchModels } from './listModels'; declare module '@oracle/langchain-oracledb' { interface OracleEmbeddings { embedDocuments(documents: string[]): Promise<number[][]>; embedQuery(document: string): Promise<number[]>; } } export declare const generationFields: INodeProperties[]; export declare class EmbeddingsOracleDb implements INodeType { methods: { listSearch: { searchModels: typeof searchModels; }; }; description: INodeTypeDescription; supplyData(this: ISupplyDataFunctions, itemIndex: number): Promise<SupplyData>; }