简述
根据开源项目搭建知识库:模型全选择qwen的,ollama-模型平台,Langchain-Chatchat-知识库项目,Mars-开源知识文档-验证使用
https://github.com/chatchat-space/Langchain-Chatchat
https://github.com/AlloyTeam/Mars
ollama
安装:下载exe文件安装简单
模型选择:
LLM : qwen3
Embedding : qwen3-embedding
命令:
ollama pull qwen3
ollama pull qwen3-embedding
ollama list
Langchain-Chatchat
搭建部署参考官方:版本==0.3.1.3
python==3.11,可以使用conda,model_settings.yaml--修改对应模型和支持模型平台
包版本兼容:
pip install httpx==0.27.2 -U
pip install numpy==1.26.1
pip install "pdfminer.six==20231228"
验证
以Mars--tools的文件创建新知识库
