/**
 * OpenAI Node - Version 2.2
 * Discriminator: resource=conversation, operation=get
 */


interface Credentials {
  openAiApi: CredentialReference;
}

/** Get a conversation */
export type LcOpenAiV22ConversationGetParams = {
  resource: 'conversation';
  operation: 'get';
/**
 * The ID of the conversation to retrieve
 */
    conversationId: string | Expression<string>;
};

export interface LcOpenAiV22ConversationGetSubnodeConfig {
  tools?: ToolInstance[];
  memory?: MemoryInstance;
}

export type LcOpenAiV22ConversationGetNode = {
  type: '@n8n/n8n-nodes-langchain.openAi';
  version: 2.2;
  credentials?: Credentials;
  isTrigger: true;
  config: NodeConfig<LcOpenAiV22ConversationGetParams> & { subnodes?: LcOpenAiV22ConversationGetSubnodeConfig };
};