chatx
v1.0.0
끊임없이 배우고 모든 사람이 AI로부터 혜택을받을 수 있도록 최선을 다하는 AI 챗봇.

docker run --name my-postgres
-e POSTGRES_PASSWORD=postgres
-p 5432:5432
-v ./pgsql/data:/var/lib/postgresql/data
-d pgvector/pgvector:pg16.env 파일의 연결 옵션을 바꾸십시오
.env 파일에서 DashScope_api_key 옵션을 대체하려면 링크를 참조하십시오.
참조 링크
이 섹션은 선택 사항이지만 새로운 Python 사용자에게 유용 할 수 있습니다.
일반적으로 가상 환경은 패키지 충돌 및 다중 버전 파이썬과 같은 문제를 해결할 수 있습니다. Conda는 패키지 및 환경을 관리하는 옵션입니다. Linux에서 Miniconda는 여기에서 다운로드하여 지침으로 설치할 수 있습니다.
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh미러 소스 설정
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --set show_channel_urls yesPython 3.11 (> = 3.9)으로 Chatx 가상 환경 생성
conda create -n chatx_py311 python==3.11 -y가상 환경을 활성화하십시오
conda activate chatx_py311git clone https://github.com/WujiLab/chatx.git
cd chatxconda install poetry -y
poetry installmkdir -p ~ /.pip
cat > ~ /.pip/pip.conf << EOF
[global]
trusted-host = mirrors.aliyun.com
index-url = http://mirrors.aliyun.com/pypi/simple/
EOF
pip install poetry
poetry installalembic upgrade headpython server/apiserver.pyChatx는 MIT 라이센스와 함께 공개됩니다.