开启左侧

Langchain-Chatchat部署总结

[复制链接]
a617735965 发表于 昨天 22:49 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
作者:CSDN博客
项目地址:

https://github.com/chatchat-space/Langchain-Chatchat
整体安装比较方便,在阿里云购买云主机,购买的国外站点机器,
该项目运行最佳坏境为
    Linux Ubuntu 22.04.5Python 版本 == 3.11.7CUDA 版本: == 12.1torch==2.1.2
使用最轻量级部署方案

Langchain-Chatchat部署总结-1.png

  1. git clone https://github.com/chatchat-space/Langchain-Chatchat.git
  2. cd Langchain-Chatchat/
  3. pip install -r requirements_lite.txt
  4. mv basic_config.py.example basic_config.py
  5. mv kb_config.py.example kb_config.py
  6. mv model_config.py.example model_config.py
  7. mv prompt_config.py.example prompt_config.py
  8. mv server_config.py.example server_config.py
复制代码
修改model的大模型配置
    "openai-api": {   
         "model_name": "gpt-3.5-turbo",
         "api_base_url": "https://api.chatanywhere.tech/v1",
         "api_key": "sk-45aHXQhjXoZJzXCZyuY2OjmAIhDHN9BnoN26nFTFdFgl7y1R",
         "openai_proxy": "https://api.chatanywhere.tech/v1",
     },
免费chatgpts国内代理,只能使用3.5
GitHub - chatanywhere/GPT_API_free: Free ChatGPT API Key,免费Cha

原文地址:https://blog.csdn.net/nmjhehe/article/details/136288899
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

发布主题
阅读排行更多+

Powered by Discuz! X3.4© 2001-2013 Discuz Team.( 京ICP备17022993号-3 )