基于langchain和chatglm搭建自己的聊天机器人,并用tair存储私有数据,为私有数据构建索引。运行本项目前需要确保GPU驱动已经安装,如果没有GPU,需要修改代码使用CPU加载。 CPU机器内存要求参考chatglm。
运行以下命令安装本项目所需的第三方库
pip install -r requirementes.txt
nohup python api_fastapi.py --allow-root 2>&1 &
提供了jupyter notebook:chatbot.ipynb
3 commits
Jupyter Notebook
72.2%
Python
27.8%
基于langchain和chatglm搭建自己的聊天机器人,并用tair存储私有数据,为私有数据构建索引。运行本项目前需要确保GPU驱动已经安装,如果没有GPU,需要修改代码使用CPU加载。 CPU机器内存要求参考chatglm。
运行以下命令安装本项目所需的第三方库
pip install -r requirementes.txt
nohup python api_fastapi.py --allow-root 2>&1 &
提供了jupyter notebook:chatbot.ipynb
3 commits
Jupyter Notebook
72.2%
Python
27.8%