这个问题主要是因为你使用的模型默认维度是 768,将表的属性改成 768就好了 ALTER TABLE vector_store ALTER COLUMN embedding TYPE vector(768);