ai 部署Ollama Coze Pilotdeck Dify

Ollama(运行本地模型)
install:
    docker stop ollama
    docker run -d -p 11434:11434  -v /path/to/local/models:/root/.ollama/models --name ollama ollama/ollama
    docker exec -it ollama ollama stop dengcao/Qwen3-Embedding-0.6B:F16
    docker exec -it ollama ollama run dengcao/Qwen3-Embedding-0.6B:F16
    
    docker exec -it ollama ollama run nomic-embed-text
    
    

PilotDeck(清华大学THUNLP实验室、面壁智能、OpenBMB与AI9stars联合研发的智能体操作系统)
install:
    CentOS 8.5 64位(腾讯云服务器)
    yum update
    
    
    1. 
        yum install git
        git clone https://github.com/OpenBMB/PilotDeck.git(git clone https://gitcode.com/gh_mirrors/pi/PilotDeck.git)
    
    2. 
        wget https://raw.githubusercontent.com/OpenBMB/PilotDeck/main/install.sh
        sh install.sh
        
    3. 
        yum install git
        git clone https://github.com/OpenBMB/PilotDeck.git(git clone https://gitee.com/mstitop/PilotDeck.git)
        安装docker:
            yum install -y yum-utils device-mapper-persistent-data lvm2
            yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
            yum install docker-ce-20.10.10 docker-ce-cli-20.10.10 containerd.io docker-compose-plugin
            systemctl start docker(systemctl enable docker)(修改镜像为国内镜像)
        cd PilotDeck
        docker compose up -d
        
        访问 http://IP:3001

Coze(字节跳动)
install:
    CentOS 8.5 64位(腾讯云服务器)
    yum update
    
    1. 
        yum install git
        git clone https://github.com/coze-dev/coze-studio.git(git clone https://gitcode.com/GitHub_Trending/co/coze-studio.git)
        安装docker:
            yum install -y yum-utils device-mapper-persistent-data lvm2
            yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
            yum install docker-ce-20.10.10 docker-ce-cli-20.10.10 containerd.io docker-compose-plugin
            systemctl start docker(systemctl enable docker)(修改镜像为国内镜像)
        cd coze-studio/docker
        cp .env.example .env

        EMbedding模型需要在.env中配置,以及默认模型
        设置模型api
            cp backend/conf/model/template/model_template_ark_doubao-seed-1.6.yaml backend/conf/model/doubao-seed-2.0-lite.yaml
            编辑backend/conf/model/doubao-seed-2.0-lite.yaml
                base_url: "https://api.deepseek.com/v1"
                api_key: "sk-xxxxxxxx"(https://platform.deepseek.com/申请)
                model: "deepseek-reasoner"
        docker compose up -d

Dify
install:
    CentOS 8.5 64位(腾讯云服务器)
    yum update
    1. 
        git clone https://gitcode.com/GitHub_Trending/di/dify.git
        cd dify/docker
        cp .env.example .env
        docker compose up -d

        

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值