UNPKG

@n8n/n8n-nodes-langchain

Version:
31 lines (26 loc) 768 B
/** * OpenAI Node - Version 2.1 * Discriminator: resource=conversation, operation=get */ interface Credentials { openAiApi: CredentialReference; } /** Get a conversation */ export type LcOpenAiV21ConversationGetParams = { resource: 'conversation'; operation: 'get'; /** * The ID of the conversation to retrieve */ conversationId: string | Expression<string>; }; export interface LcOpenAiV21ConversationGetSubnodeConfig { tools?: ToolInstance[]; memory?: MemoryInstance; } export type LcOpenAiV21ConversationGetNode = { type: '@n8n/n8n-nodes-langchain.openAi'; version: 2.1; isTrigger: true; config: NodeConfig<LcOpenAiV21ConversationGetParams> & { credentials?: Credentials } & { subnodes?: LcOpenAiV21ConversationGetSubnodeConfig }; };