Skip to content

支持使用 MongoDB Atlas 作为向量数据库 #1493

支持使用 MongoDB Atlas 作为向量数据库

支持使用 MongoDB Atlas 作为向量数据库 #1493

Triggered via pull request December 31, 2024 02:30
Status Failure
Total duration 7m 1s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 13 warnings
lint: packages/vector-store-service/src/vectorstore/faiss.ts#L2
Replace `·ChatLunaSaveableVectorStore,·ChatLunaSaveableVectorStoreInput·` with `⏎····ChatLunaSaveableVectorStore,⏎····ChatLunaSaveableVectorStoreInput⏎`
lint: packages/vector-store-service/src/vectorstore/lunavdb.ts#L3
'/home/runner/work/chatluna/chatluna/node_modules/@langchain/core/vectorstores.js' imported multiple times
lint: packages/vector-store-service/src/vectorstore/lunavdb.ts#L8
Replace `·ChatLunaSaveableVectorStore,·ChatLunaSaveableVectorStoreInput·` with `⏎····ChatLunaSaveableVectorStore,⏎····ChatLunaSaveableVectorStoreInput⏎`
lint: packages/vector-store-service/src/vectorstore/lunavdb.ts#L14
'/home/runner/work/chatluna/chatluna/node_modules/@langchain/core/vectorstores.js' imported multiple times
lint: packages/vector-store-service/src/vectorstore/lunavdb.ts#L65
Insert `⏎···········`
lint: packages/vector-store-service/src/vectorstore/milvus.ts#L5
Replace `·ChatLunaSaveableVectorStore,·ChatLunaSaveableVectorStoreInput·` with `⏎····ChatLunaSaveableVectorStore,⏎····ChatLunaSaveableVectorStoreInput⏎`
lint: packages/vector-store-service/src/vectorstore/milvus.ts#L210
Replace `·typeof·filter·===·'object'·?·JSON.stringify(filter)` with `⏎························typeof·filter·===·'object'⏎····························?·JSON.stringify(filter)⏎···························`
lint: packages/vector-store-service/src/vectorstore/mongodb.ts#L107
Replace `⏎············'Please·install·mongodb·as·a·dependency`'⏎········` with `'Please·install·mongodb·as·a·dependency`'`
build
Duplicate identifier 'mongodb'.
build
Duplicate identifier 'mongodb'.
build
Interface 'ExtendedVectorStoreInput<T>' incorrectly extends interface 'ChatLunaSaveableVectorStoreInput<T>'.
build
Argument of type 'ExtendedVectorStoreInput<FaissStore>' is not assignable to parameter of type 'ChatLunaSaveableVectorStoreInput<FaissStore>'.
build
Interface 'ExtendedVectorStoreInput<T>' incorrectly extends interface 'ChatLunaSaveableVectorStoreInput<T>'.
build
Interface 'ExtendedVectorStoreInput<T>' incorrectly extends interface 'ChatLunaSaveableVectorStoreInput<T>'.
build
Argument of type 'ExtendedVectorStoreInput<Milvus>' is not assignable to parameter of type 'ChatLunaSaveableVectorStoreInput<Milvus>'.
build
Process completed with exit code 2.
prepare
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: packages/core/src/llm-core/agent/agent.ts#L199
Class Property name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/core/src/llm-core/agent/agent.ts#L283
Class Property name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/core/src/llm-core/agent/executor.ts#L53
Class Property name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/core/src/llm-core/agent/executor.ts#L355
Class Method name `lc_name` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/core/src/llm-core/agent/executor.ts#L359
Classic Accessor name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/core/src/llm-core/chain/base.ts#L86
Classic Accessor name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/core/src/llm-core/chain/base.ts#L137
Variable name `callbackManager_` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/core/src/llm-core/memory/langchain/buffer_memory.ts#L33
This line has a length of 264. Maximum allowed is 160
lint: packages/core/src/middlewares/list_room.ts#L27
Variable name `all_room` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
lint: packages/long-memory/src/similarity.ts#L2
Import name `TinySegmenter` must match one of the following formats: camelCase, UPPER_CASE
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636