一种利用 langchain 思想实现的基于本地知识库的问答应用,目标期望建立一套对中文场景与开源模型支持友好、可离线运行的知识库问答解决方案。
1. 下载Langchain-chatchat
git clone https://github.com/chatchat-space/Langchain-Chatchat/
2. 下载大模型和embedding模型
大模型: git clone https://huggingface.co/THUDM/chatglm3-6b-32k
embedding 模型: git clone https://huggingface.co/BAAI/bge-large-zh
如果在下载过程中遇到huggingface.co is not conneted, 可以使用以下方法解决: 完美解决huggingface问题:F