-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Description
Contact Information
No response
MaxKB Version
2.4.1
Problem Description
后台报错:ERROR: column cannot have more than 2000 dimensions for hnsw index
以前一直用的是Qwen3-Embedding-8B,最近更新了MaxKB版本后就频繁出现这个报错。
后来把模型的dimensions参数默认值改为1536,但是还是会出现这个报错。
然后MaxKB重启后有些应用会一直显示回答中没有反应,然后需要重新点一下发布再提问才行。
Steps to Reproduce
看日志应该是在知识库向量化的时候报错。
The expected correct result
No response
Related log output
2026-01-06 08:29:05.228 CST [5053] ERROR: column cannot have more than 2000 dimensions for hnsw index
2026-01-06 08:29:05.228 CST [5053] STATEMENT: CREATE INDEX "embedding_hnsw_idx_cfea62d8-01d6-11ef-8124-0242ac120003" ON embedding USING hnsw ((embedding::vector(4096)) vector_cosine_ops) WHERE knowledge_id = 'cfea62d8-01d6-11ef-8124-0242ac120003'Additional Information
No response
Metadata
Metadata
Assignees
Labels
No labels