Giter VIP home page Giter VIP logo

Comments (15)

hncboy avatar hncboy commented on August 18, 2024

填 CHAT_OPENAI_API_KEY 就行,https://platform.openai.com/account/api-keys 这个地方取值

from ai-beehive.

leochen12-rgb avatar leochen12-rgb commented on August 18, 2024

填 CHAT_OPENAI_API_KEY 就行,https://platform.openai.com/account/api-keys 这个地方取值

报错啦
docker-compose日志:
java_gpt | 2023-04-25T10:09:31.528+08:00 WARN 1 --- [nio-3002-exec-1] c.h.c.b.e.RestExceptionTranslator : 鉴权拦截
java_gpt |
java_gpt | cn.dev33.satoken.exception.NotLoginException: 未能读取到有效Token

网页报错:
{"code":401,"data":null,"message":"未提供 token"}

请教大佬这个是我哪里没有配置好才出现这种问题

from ai-beehive.

hncboy avatar hncboy commented on August 18, 2024

没登录,调接口需要登录,需要部署 chatgpt-shuowen

from ai-beehive.

leochen12-rgb avatar leochen12-rgb commented on August 18, 2024

没登录,调接口需要登录,需要部署 chatgpt-shuowen

邮箱smtp怎么配置的,没有找到路径

from ai-beehive.

hncboy avatar hncboy commented on August 18, 2024

这里面的值 https://github.com/hncboy/chatgpt-web-java/blob/main/chatgpt-bootstrap/src/main/resources/application-dev.yaml

没登录,调接口需要登录,需要部署 chatgpt-shuowen

邮箱smtp怎么配置的,没有找到路径

from ai-beehive.

leochen12-rgb avatar leochen12-rgb commented on August 18, 2024

客户端 chatgpt-shuowen
管理端 chatgpt-jiezi
后台 chatgpt-web-java
请教大佬,因为我的aws外区服务器内存有限,能否把接api的服务放在aws上,其他的服务放在国内云服务器上,该如何操作

from ai-beehive.

hncboy avatar hncboy commented on August 18, 2024

客户端 chatgpt-shuowen 管理端 chatgpt-jiezi 后台 chatgpt-web-java 请教大佬,因为我的aws外区服务器内存有限,能否把接api的服务放在aws上,其他的服务放在国内云服务器上,该如何操作

只要网络能通,都可以分开部署。

from ai-beehive.

leochen12-rgb avatar leochen12-rgb commented on August 18, 2024

客户端 chatgpt-shuowen 管理端 chatgpt-jiezi 后台 chatgpt-web-java 请教大佬,因为我的aws外区服务器内存有限,能否把接api的服务放在aws上,其他的服务放在国内云服务器上,该如何操作

只要网络能通,都可以分开部署。

主要是我不知道哪个服务是用来连接api的,然后将它部署在外区服务器上,其他两个服务部署在国内云上,网络上如何配置,请大佬指示一下哈

from ai-beehive.

hncboy avatar hncboy commented on August 18, 2024

chatgpt-web-java 和 mysql 占的内存最大,java 调的 api。chatgpt-shuowen 和 chatgpt-jiezi 只是前端

from ai-beehive.

leochen12-rgb avatar leochen12-rgb commented on August 18, 2024

Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.

Tue Apr 25 13:33:12 CST 2023
There was an unexpected error (type=Not Found, status=404).

docker-compose up启动后http://ip:3002打开会报错,这是什么原因

from ai-beehive.

hncboy avatar hncboy commented on August 18, 2024

这是 Java 项目没有前端页面,这个错误是正常,接口文档地址是 http://localhost:3002/swagger-ui.html

from ai-beehive.

leochen12-rgb avatar leochen12-rgb commented on August 18, 2024

这是 Java 项目没有前端页面,这个错误是正常,接口文档地址是 http://localhost:3002/swagger-ui.html

哈哈,我还以为是报错信息。

chatgpt-web-java 我准备单独部署在aws上 (docker-compose启动)
MySQL现有的 在国内云上 (独立的mysql)
chatgpt-shuowen 和 chatgpt-jiezi 也准备部署在国内云上 (pnpm dev启动)
请教大佬,我应该让他们几个相互网络通信

from ai-beehive.

hncboy avatar hncboy commented on August 18, 2024

这是 Java 项目没有前端页面,这个错误是正常,接口文档地址是 http://localhost:3002/swagger-ui.html

哈哈,我还以为是报错信息。

chatgpt-web-java 我准备单独部署在aws上 (docker-compose启动) MySQL现有的 在国内云上 (独立的mysql) chatgpt-shuowen 和 chatgpt-jiezi 也准备部署在国内云上 (pnpm dev启动) 请教大佬,我应该让他们几个相互网络通信

有公网地址就可以。

from ai-beehive.

dqzboy avatar dqzboy commented on August 18, 2024

大佬,邮箱可以在docker-compose.yml通过环境变量的方式设置吗?

from ai-beehive.

hncboy avatar hncboy commented on August 18, 2024

大佬,邮箱可以在docker-compose.yml通过环境变量的方式设置吗?

可以的

from ai-beehive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.