langchain-chatchat安装

AI 摘要
date
Dec 20, 2024
URL
slug
langchain-chatchat-install
status
Published
tags
AI
langchain
summary
使用conda创建环境并拉取Langchain-Chatchat源码,配置环境变量和模型设置,启动服务时如遇错误需降级httpx版本
type
Post
notion image
使用源码运行
运行环境安装
使用conda
创建环境
拉取源码
进入主目录
配置环境变量
初始化配置
运行后会在配置的环境变量目录中生成配置文件
notion image
需要内网中其他设备访问需要修改·basic_settings.yaml 以下配置
 
可自定义模型加载平台,默认使用xinference
model_settings.yaml 配置
启动服务
 
langchain-chatchat启动后报错
httpx版本问题过高的问题
httpx版本降级
notion image
启动成功访问,访问服务http://127.0.0.1:8501
notion image
 

参考

 

© Akapril 2018 - 2025