搭建本地ChatGPT

-1 下载并安装Docker 【官网下载】

  • 2 使用开源项目:潘多拉 (Pandora) 【github】

  • 3 一键安装命令:

docker pull pengzhile/pandora
  • 启动端口: 8899
docker run  -e PANDORA_CLOUD=cloud -e PANDORA_SERVER=0.0.0.0:8899 -p 8899:8899 -d pengzhile/pandora
docker run  -e PANDORA_CLOUD=cloud -e PANDORA_SERVER=0.0.0.0:10087 -p 10087:10087 -d pengzhile/pandora

6 获取token

  • 复制下面accessToken的值即可
{"user":{"id":"user-","name":" li","email":"@.com","image":"https://s.gravatar.com/avatar/efe0cc435468ee349d908918e1220c36?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fjl.png","picture":"https://s.gravatar.com/avatar/efe0cc435468ee349d908918e1220c36?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fjl.png","idp":"windowslive","iat":1686351539,"mfa":false,"groups":[],"intercom_hash":"6b227073e2014d908a7421d885f7946e4c39222fc5c25227c28b474bb21bd08d"},"expires":"2023-07-11T14:26:10.335Z","accessToken":"eyJhbGciOiJSUzI1A","authProvider":"auth0"}
posted @ 2023-07-18 20:07  mohist  阅读(165)  评论(0编辑  收藏  举报