Langchain-Chatchat icon indicating copy to clipboard operation
Langchain-Chatchat copied to clipboard

[FEATURE] 能否增加对于milvus向量数据库的支持 / Concise description of the feature

Open ColorfulDick opened this issue 1 year ago • 11 comments

功能描述 / Feature Description 提供一个可选配置,可以让用户自由选择使用faiss本地库或milvus远程/分布式向量数据库,作为向量存储 / Describe the desired feature in a clear and concise manner.

解决的问题 / Problem Solved 当知识库的数据量大的时候(大于200m的txt文件),faiss-cpu的io速度太慢,无法使用gpu,且无法横向扩展;而milvus将在2.3版本支持gpu,且是存算分离架构,云原生友好,部署方便; / Explain how this feature solves existing problems or improves the project.

实现建议 / Implementation Suggestions 实现一个接口,可以通过配置文件配置使用哪款向量数据库,milvus还是faiss / If possible, provide suggestions on how to implement this feature.

替代方案 / Alternative Solutions 暂无替代方案,目前只调研过milvus / Describe alternative solutions you have considered.

其他信息 / Additional Information 添加与功能请求相关的任何其他信息 / Add any other information related to the feature request.

ColorfulDick avatar May 06 '23 06:05 ColorfulDick