Hierarchy

  • LangChainConfig

Properties

abs: ((relativePath) => string)

Type declaration

    • (relativePath): string
    • Parameters

      • relativePath: string

      Returns string

cjsDestination: string

The destination to move the .cjs files to.

cjsSource: string

The source of the .cjs files to move.

entrypoints: Record<string, string>

This lists all the entrypoints for the library. Each key corresponds to an importable path, eg. import { AgentExecutor } from "langchain/agents". The value is the path to the file in src/ that exports the entrypoint. This is used to generate the exports field in package.json. Order is not important.

tsConfigPath: string

The absolute path to the tsconfig.json file.

deprecatedNodeOnly?: string[]

Entrypoints in this list will

  1. Be excluded from the documentation
  2. Be only available in Node.js environments (for backwards compatibility)
deprecatedOmitFromImportMap?: string[]

Endpoints that are deprecated due to redundancy. Will not appear in the import map.

extraImportMapEntries?: ExtraImportMapEntry[]

Extra entries to add to the import map.

gitignorePaths?: string[]

Paths to add to .gitignore

Default

["node_modules", "dist", ".yarn"]
internals?: (string | RegExp)[]
packageSuffix?: string

The suffix of the package. Eg. community for @langchain/community. Used in the generated import map.

requiresOptionalDependency?: string[]

Entrypoints in this list require an optional dependency to be installed. Therefore they are not tested in the generated test-exports-* packages.

shouldTestExports?: boolean

Whether or not to write to the test exports files. At the moment this only applies to the langchain package.

Generated using TypeDoc