diff --git a/langchain/src/chains/openai_moderation.ts b/langchain/src/chains/openai_moderation.ts index f6f4194d9650..c1be1dbe911f 100644 --- a/langchain/src/chains/openai_moderation.ts +++ b/langchain/src/chains/openai_moderation.ts @@ -13,6 +13,8 @@ import { BaseChain, ChainInputs } from "./base.js"; export interface OpenAIModerationChainInput extends ChainInputs, AsyncCallerParams { + apiKey?: string; + /** @deprecated Use "apiKey" instead. */ openAIApiKey?: string; openAIOrganization?: string; throwError?: boolean;