Skip to content

Commit

Permalink
refactor(core): clean up output parser imports and update package.jso…
Browse files Browse the repository at this point in the history
…n files for consistency
  • Loading branch information
dingyi222666 committed Jan 29, 2025
1 parent 89caafa commit 20a9b1e
Show file tree
Hide file tree
Showing 23 changed files with 1,983 additions and 1,985 deletions.
160 changes: 80 additions & 80 deletions packages/azure-openai-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,86 +1,86 @@
{
"name": "koishi-plugin-chatluna-azure-openai-adapter",
"description": "azure openai adapter for chatluna",
"version": "1.0.0",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
"files": [
"lib",
"dist"
],
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.cjs"
},
"./package.json": "./package.json"
},
"type": "module",
"author": "dingyi222666 <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/ChatLunaLab/chatluna.git",
"directory": "packages/azure-openai-adapter"
},
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/ChatLunaLab/chatluna/issues"
},
"homepage": "https://github.com/ChatLunaLab/chatluna/tree/v1-dev/packages/azure-openai-adapter#readme",
"scripts": {
"build": "atsc -b"
},
"engines": {
"node": ">=18.0.0"
},
"keywords": [
"chatbot",
"koishi",
"plugin",
"service",
"chatgpt",
"gpt",
"chatluna",
"adapter"
],
"dependencies": {
"@langchain/core": "^0.3.18",
"zod": "^3.24.0-canary.20241107T043915",
"zod-to-json-schema": "^3.23.5"
},
"devDependencies": {
"atsc": "^2.1.0",
"koishi": "^4.18.4"
},
"peerDependencies": {
"koishi": "^4.18.4",
"koishi-plugin-chatluna": "^1.0.0"
},
"resolutions": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
"name": "koishi-plugin-chatluna-azure-openai-adapter",
"description": "azure openai adapter for chatluna",
"version": "1.0.0",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
"files": [
"lib",
"dist"
],
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.cjs"
},
"./package.json": "./package.json"
},
"type": "module",
"author": "dingyi222666 <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/ChatLunaLab/chatluna.git",
"directory": "packages/azure-openai-adapter"
},
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/ChatLunaLab/chatluna/issues"
},
"homepage": "https://github.com/ChatLunaLab/chatluna/tree/v1-dev/packages/azure-openai-adapter#readme",
"scripts": {
"build": "atsc -b"
},
"engines": {
"node": ">=18.0.0"
},
"keywords": [
"chatbot",
"koishi",
"plugin",
"service",
"chatgpt",
"gpt",
"chatluna",
"adapter"
],
"dependencies": {
"@langchain/core": "^0.3.18",
"zod": "^3.24.0-canary.20241107T043915",
"zod-to-json-schema": "^3.23.5"
},
"devDependencies": {
"atsc": "^2.1.0",
"koishi": "^4.18.4"
},
"peerDependencies": {
"koishi": "^4.18.4",
"koishi-plugin-chatluna": "^1.0.1-alpha.1"
},
"resolutions": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
},
"overrides": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
},
"pnpm": {
"overrides": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
},
"pnpm": {
"overrides": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
}
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
}
},
"koishi": {
"description": {
"zh": "ChatLuna 的 Azure OpenAI 平台适配器",
"en": "Azure OpenAI adapter for ChatLuna"
},
"koishi": {
"description": {
"zh": "ChatLuna 的 Azure OpenAI 平台适配器",
"en": "Azure OpenAI adapter for ChatLuna"
},
"service": {
"required": [
"chatluna"
]
}
"service": {
"required": [
"chatluna"
]
}
}
}
158 changes: 79 additions & 79 deletions packages/chatglm-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,85 +1,85 @@
{
"name": "koishi-plugin-chatluna-chatglm-adapter",
"description": "chatglm adapter for chatluna",
"version": "1.0.0",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
"files": [
"lib",
"dist"
],
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.cjs"
},
"./package.json": "./package.json"
},
"type": "module",
"author": "dingyi222666 <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/ChatLunaLab/chatluna.git",
"directory": "packages/chatglm-adapter"
},
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/ChatLunaLab/chatluna/issues"
},
"homepage": "https://github.com/ChatLunaLab/chatluna/tree/v1-dev/packages/chatglm-adapter#readme",
"scripts": {
"build": "atsc -b"
},
"keywords": [
"chatbot",
"koishi",
"plugin",
"service",
"chatglm",
"chatluna",
"adapter"
],
"dependencies": {
"@langchain/core": "^0.3.18",
"zod-to-json-schema": "^3.23.5"
},
"devDependencies": {
"@types/uuid": "^10.0.0",
"atsc": "^2.1.0",
"koishi": "^4.18.4"
},
"resolutions": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
"name": "koishi-plugin-chatluna-chatglm-adapter",
"description": "chatglm adapter for chatluna",
"version": "1.0.0",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
"files": [
"lib",
"dist"
],
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.cjs"
},
"./package.json": "./package.json"
},
"type": "module",
"author": "dingyi222666 <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/ChatLunaLab/chatluna.git",
"directory": "packages/chatglm-adapter"
},
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/ChatLunaLab/chatluna/issues"
},
"homepage": "https://github.com/ChatLunaLab/chatluna/tree/v1-dev/packages/chatglm-adapter#readme",
"scripts": {
"build": "atsc -b"
},
"keywords": [
"chatbot",
"koishi",
"plugin",
"service",
"chatglm",
"chatluna",
"adapter"
],
"dependencies": {
"@langchain/core": "^0.3.18",
"zod-to-json-schema": "^3.23.5"
},
"devDependencies": {
"@types/uuid": "^10.0.0",
"atsc": "^2.1.0",
"koishi": "^4.18.4"
},
"resolutions": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
},
"overrides": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
},
"pnpm": {
"overrides": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
},
"pnpm": {
"overrides": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
}
},
"peerDependencies": {
"koishi": "^4.18.4",
"koishi-plugin-chatluna": "^1.0.0"
},
"engines": {
"node": ">=18.0.0"
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
}
},
"peerDependencies": {
"koishi": "^4.18.4",
"koishi-plugin-chatluna": "^1.0.1-alpha.1"
},
"engines": {
"node": ">=18.0.0"
},
"koishi": {
"description": {
"zh": "为 ChatLuna 提供 ChatGLM 等在 `API for Open LLMs` 上可用的大语言模型",
"en": "Provide ChatGLM and other large language models available on `API for Open LLMs` for ChatLuna"
},
"koishi": {
"description": {
"zh": "为 ChatLuna 提供 ChatGLM 等在 `API for Open LLMs` 上可用的大语言模型",
"en": "Provide ChatGLM and other large language models available on `API for Open LLMs` for ChatLuna"
},
"service": {
"required": [
"chatluna"
]
}
"service": {
"required": [
"chatluna"
]
}
}
}
Loading

0 comments on commit 20a9b1e

Please sign in to comment.