AI创想

标题: Langchain-Chatchat部署总结 [打印本页]

作者: a617735965    时间: 昨天 22:49
标题: Langchain-Chatchat部署总结
作者:CSDN博客
项目地址:

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

(, 下载次数: 0)

  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




欢迎光临 AI创想 (https://www.llms-ai.com/) Powered by Discuz! X3.4