本地部署Claude2的两种办法

2023/08/06 Claude2 共 675 字,约 2 分钟
AI智谷X

本地部署Claude2的两种办法

1、使用镜像网站 https://www.claudeai.ai/zh-CN

首先,有大神建立了一个可以在国内运行的镜像网站,在国内网络环境中直接运行就可以

image

输入一个邮箱地址,邮箱中就可以收到一个临时验证码,点击进去它会出现如下页面

image

然后就可以像使用Claude2网站一样了

image

2、在本地做一些基础工为使用Claude2做准备

首先,打开自己的Claude.ai网站,登录进去,

image

在页面上空白出点击鼠标右键,点击最下面的检查

image

出现如下页面

image

点选网络中的chat_conversation,选中https://claude.ai/api/organizations/0eexxxxxxxxxxxxxxxxxxxxx/chat_conversations,这个字符串0eexxxxxxxxxxxxxxxxxxxxx。

image

再点选应用中sessionKey的值

image

打开网站:

https://github.com/UNICKCHENG/openai-proxy

image

Vercel进行自动部署

image

看到如下界面就说明部署完成了

image

image

3、接下来,我们部署ChatGPT-Next-Web

首先,打开这个开源项目 https://github.com/Yidadaa/ChatGPT-Next-Web

image

为其命名,然后进行部署

image

这里需要填写我们在上一步拷贝出来的sessionKey的值,以及自定义一个密码,简单也可复杂也可以

image

部署完成后,点击setting

image

增加一个变量BASE_URL: PROXY_URL/claude/organization_uuid/conversation_uuid

文档信息

Search

    Table of Contents