UNPKG

langchain-react-chinese-parser

Version:

一个专门为中文大模型提供的 LangChain ReAct 输出解析器集合,支持通义千问、ChatGLM、百川、智谱GLM、文心一言、Minimax 等主流中文模型

87 lines (86 loc) 2.44 kB
{ "name": "langchain-react-chinese-parser", "version": "1.0.4", "description": "一个专门为中文大模型提供的 LangChain ReAct 输出解析器集合,支持通义千问、ChatGLM、百川、智谱GLM、文心一言、Minimax 等主流中文模型", "keywords": [ "langchain", "react", "chinese", "llm", "qwen", "chatglm", "baichuan", "glm", "ernie", "minimax", "output-parser", "agent" ], "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" } }, "files": [ "dist", "README.md", "CHANGELOG.md" ], "scripts": { "build": "tsup", "dev": "tsup --watch", "test": "jest --passWithNoTests", "test:watch": "jest --watch", "example:basic": "tsx examples/basic-usage.ts", "example:langchain": "tsx examples/langchain-integration.ts", "example:custom-agent": "tsx examples/custom-agent-integration.ts", "lint": "eslint src --ext ts", "lint:fix": "eslint src --ext ts --fix", "type-check": "tsc --noEmit", "prepublishOnly": "pnpm build", "release": "node scripts/release.js", "release:dry": "node scripts/release.js --dry-run", "release:major": "node scripts/release.js --major", "release:minor": "node scripts/release.js --minor", "release:patch": "node scripts/release.js --patch", "check": "pnpm lint && pnpm type-check" }, "dependencies": { "@langchain/core": "^0.3.0" }, "devDependencies": { "@types/jest": "^29.5.0", "@types/node": "^22.15.24", "@typescript-eslint/eslint-plugin": "^8.34.1", "@typescript-eslint/parser": "^8.34.1", "chalk": "^5.4.1", "eslint": "^8.57.0", "jest": "^29.5.0", "ts-jest": "^29.1.0", "tsup": "^8.5.0", "tsx": "^4.7.0", "typescript": "^5.8.3" }, "peerDependencies": { "@langchain/core": "^0.3.0" }, "repository": { "type": "git", "url": "git+https://github.com/echoVic/langchain-react-chinese-parser.git" }, "author": "echoVic <137844255@qq.com>", "license": "MIT", "bugs": { "url": "https://github.com/echoVic/langchain-react-chinese-parser/issues" }, "homepage": "https://github.com/echoVic/langchain-react-chinese-parser#readme", "engines": { "node": ">=18" }, "type": "module" }