The absolute path to the source directory of the codebase to update.
"/Users/username/code/my-project/src"
The absolute path to the locally cloned LangChain repo root.
"/Users/username/code/langchainjs"
Optional
customOptionally, pass in a custom glob pattern to match files. The backslash included in the example and default is only for JSDoc to escape the asterisk. Do not include unless intentionally.
"/*.d.ts"
"**/*.ts"
Optional
customA custom ignore pattern for ignoring files. The backslash included in the example and default is only for JSDoc to escape the asterisk. Do not include unless intentionally.
["**/node_modules/**", "**/dist/**", "**/*.d.ts"]
node_modules/**
Optional
skipOptionally skip checking the passed modules for imports to update.
[UpgradingModule.COHERE]
undefined
Generated using TypeDoc
Find imports from deprecated pre 0.1 LangChain modules and update them to import from the new LangChain packages.