DeepAudit icon indicating copy to clipboard operation
DeepAudit copied to clipboard

嵌入模型的维度全部使用的是预设的值影响实际运行效果

Open tusik opened this issue 3 weeks ago • 1 comments

Image

在选择OpenAI兼容后端时,测试维度为4096,但是保存后为768

https://github.com/lintsinghua/DeepAudit/blob/09444458b12653f484db1cf4b883af930809afdd/backend/app/services/rag/embeddings.py#L48-L70

在代码里看到都是根据提供商预设模型和维度,应该是使用测试结果获取维度长度

tusik avatar Dec 22 '25 01:12 tusik

我记得审计的时候是使用结果获取维度,今天我再排查一下,感谢反馈

lintsinghua avatar Dec 22 '25 01:12 lintsinghua