当前位置: 首页 > news >正文

win10 langchain-chatchat-0.3.1安装及测试

git clone https://github.com/chatchat-space/Langchain-Chatchat.git
conda create -n langchain3 python==3.11
conda activate langchain3

xinference安装用另一篇文章的内容处理。

pip install langchain-chatchat -U -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install langchain-chatchat[xinference] -U -i https://pypi.tuna.tsinghua.edu.cn/simple

pip install faiss-cpu==1.7.4 -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install xinference_client faiss-gpu “unstructured[pdf]” -i https://pypi.tuna.tsinghua.edu.cn/simple

chatchat --help 命令行帮助
chatchat init
chatchat kb 初始化知识库
chatchat start -a 启动服务

会自动生成几个文件
basic_settings.yaml
kb_settings.yaml
model_settings.yaml
prompt_settings.yaml
tool_settings.yaml

主要是改model_settings.yaml
DEFAULT_LLM_MODEL: qwen1.5-chat
DEFAULT_EMBEDDING_MODEL: bge-large-zh-v1.5
platform_name: xinference
platform_type: xinference
api_base_url: http://127.0.0.1:9997/v1
llm_models: qwen1.5-chat
embed_models: bge-large-zh-v1.5

http://www.lryc.cn/news/402115.html

相关文章:

  • Redis 教程:从入门到入坑
  • 计算机图形学入门31:动画与模拟的求解
  • Jmeter-单用户单表查询千条以上数据,前端页面分页怎么做
  • 夏日养猫攻略!你家猫咪缺水了吗?补水罐头秘籍大公开
  • 生成名片格式
  • Linux常用命令(简要总结)
  • 从挑战到实战!TDengine 新能源行业研讨会要点回顾
  • Linux 之 设置环境变量
  • postgresql删除用户
  • 【java深入学习第5章】Spring Boot 统一功能的实现及处理方式
  • 【常见开源库的二次开发】基于openssl的加密与解密——单向散列函数(四)
  • 获取不重复流水号(java)
  • 【python虚拟环境管理】【mac m3】 使用pipx安装poetry
  • git使用以及理解
  • openlayers 3d 地图 非三维 立体地图 行政区划裁剪 地图背景
  • GEO数据挖掘从数据下载处理质控到差异分析全流程分析步骤指南
  • ‍我想我大抵是疯了,我喜欢上了写单元测试
  • 【Visual Studio】Visual Studio使用技巧及报错解决合集
  • 服务器数据恢复—raid5阵列热备盘同步失败导致lun不可用的数据恢复案例
  • 算法题目整合
  • 万界星空科技AI低代码平台:重塑数字化创新边界
  • iredmail服务器安装步骤详解!如何做配置?
  • 【vue深入学习第1章】Vue.js 中的 Ajax 处理:vue-resource 库的深度解析
  • JDK新特性(Lambda表达式,Stream流)
  • 【ARM】MDK-服务器与客户端不同网段内出现卡顿问题
  • c++树(一)定义,遍历
  • YOLOv5和LPRNet的车牌识别系统
  • 内容安全(深度行为检测技术、IPS、AV、入侵检测方法)
  • MySQL双主双从实现方式
  • pico+unity手柄和摄像机控制初级设置