langchain

v0.3.3
Typescript bindings for langchain
llm ai gpt3 chain prompt prompt engineering chatgpt machine learning ml and 4 more...

build

yarn turbo:command build:internal --filter=langchain

build:internal

yarn lc_build --create-entrypoints --pre --tree-shaking --gen-maps

lint:eslint

NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/

lint:dpdm

dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts

lint

yarn lint:eslint && yarn lint:dpdm

lint:fix

yarn lint:eslint --fix && yarn lint:dpdm

precommit

lint-staged

clean

rm -rf .turbo dist/

prepack

yarn build

release

release-it --only-version --config .release-it.json

test

NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\.int\.test.ts --testTimeout 30000 --maxWorkers=50%

test:watch

NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\.int\.test.ts

test:integration

NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\.int\.test.ts --testTimeout 100000 --maxWorkers=50%

test:single

NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000

format

prettier --config .prettierrc --write "src"

format:check

prettier --config .prettierrc --check "src"
npm i langchain

Metadata

  • MIT
  • >=18
  • LangChain
  • released 10/21/2024

Downloads