Skip to content

Commit 2468021

Browse files
authored
[feat] [sdk] adapt for langchain v1 (#25)
* fix(cozeloop-langchain): tool mock * feat(cozeloop-langchain): langchain v1 * chore: rush.json and mdlint settings * docs: readme * chore: update happy-dom
1 parent f3a244b commit 2468021

File tree

13 files changed

+158
-659
lines changed

13 files changed

+158
-659
lines changed

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
"vikingdb",
2222
"websockets"
2323
],
24+
"markdownlint.config": {
25+
"ol-prefix": false
26+
},
2427
"prettier.prettierPath": "config/eslint-config/node_modules/prettier",
2528
"editor.tabSize": 2,
2629
"editor.insertSpaces": true,
@@ -68,7 +71,6 @@
6871
"*.json": "jsonc",
6972
"package.json": "json",
7073
"README": "markdown",
71-
"CODEOWNERS": "ini",
7274
"**/coverage/**/*.*": "plaintext",
7375
"**/pnpm-lock.yaml": "plaintext",
7476
"**/*.yml": "yaml"

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@ This monorepo contains the following packages:
1414
| [@cozeloop/ai](./packages/cozeloop-ai) | CozeLoop API SDK | [![npm](https://img.shields.io/npm/v/@cozeloop/ai.svg)](https://www.npmjs.com/package/@cozeloop/ai) |
1515
| [@cozeloop/langchain](./packages/cozeloop-langchain) | CozeLoop LangChain Integration | [![npm](https://img.shields.io/npm/v/@cozeloop/langchain.svg)](https://www.npmjs.com/package/@cozeloop/langchain) |
1616

17-
1817
## 🎮 Examples
1918

2019
Find usage examples for each package in the [examples](./examples) directory:
2120

2221
- [cozeloop-ai-node](./examples/cozeloop-ai-node) - Node.js Demo for @cozeloop/ai
2322

24-
2523
## 🚀 Getting Started
2624

2725
### Prerequisites
@@ -88,9 +86,9 @@ rushx start
8886

8987
## 📖 Documentation
9088

89+
- [Official Documentation](https://loop.coze.cn/open/docs/cozeloop/quick-start-nodejs)
9190
- [Contributing Guidelines](./CONTRIBUTING.md)
9291

9392
## 📄 License
9493

9594
[MIT](./LICENSE)
96-

README.zh-CN.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@
1414
| [@cozeloop/ai](./packages/cozeloop-ai) | CozeLoop API SDK | [![npm](https://img.shields.io/npm/v/@cozeloop/ai.svg)](https://www.npmjs.com/package/@cozeloop/ai) |
1515
| [@cozeloop/langchain](./packages/cozeloop-langchain) | CozeLoop LangChain Integration | [![npm](https://img.shields.io/npm/v/@cozeloop/langchain.svg)](https://www.npmjs.com/package/@cozeloop/langchain) |
1616

17-
1817
## 🎮 示例
1918

2019
[examples](./examples) 目录中查找每个包的使用示例:
2120

2221
- [cozeloop-ai-node](./examples/cozeloop-ai-node) - @cozeloop/ai 的 Node.js 使用示例
2322

24-
2523
## 🚀 快速开始
2624

2725
### 前置要求
@@ -86,9 +84,8 @@ npm run start
8684

8785
## 📖 文档
8886

89-
<!-- - [官方文档](https://www.coze.cn/docs/developer_guides/nodejs_overview) -->
87+
- [官方文档](https://loop.coze.cn/open/docs/cozeloop/quick-start-nodejs)
9088
- [贡献指南](./CONTRIBUTING.md)
91-
<!-- - [如何发布](./docs/publish.md) -->
9289

9390
## 📄 许可证
9491

0 commit comments

Comments
 (0)