Git Product home page Git Product logo

Comments (7)

LIlGG avatar LIlGG commented on June 11, 2024

抱歉回复的较晚。一般来说只需要具有 openai-key 即可,随后在插件设置中配置就可以。
如果是代码层面的话,可以参考 https://github.com/LIlGG/plugin-live2d/tree/main/src/main/java/run/halo/live2d/openai

from plugin-live2d.

NikoYomi avatar NikoYomi commented on June 11, 2024

抱歉回复的较晚。一般来说只需要具有 openai-key 即可,随后在插件设置中配置就可以。 如果是代码层面的话,可以参考 https://github.com/LIlGG/plugin-live2d/tree/main/src/main/java/run/halo/live2d/openai

感谢回复!openai-key设置没问题,但是总是报错说接口问题。很奇怪找不到具体在哪,代理也换了很多个也没解决.

from plugin-live2d.

LIlGG avatar LIlGG commented on June 11, 2024

感谢回复!openai-key设置没问题,但是总是报错说接口问题。很奇怪找不到具体在哪,代理也换了很多个也没解决.

方便贴一下 Halo 后端日志吗?

from plugin-live2d.

NikoYomi avatar NikoYomi commented on June 11, 2024

感谢你提到日志这个关键信息,我才发现好像是我的费用用完了。/(ㄒoㄒ)/~~

from plugin-live2d.

JCVICTORSUN avatar JCVICTORSUN commented on June 11, 2024

抱歉回复的较晚。一般来说只需要具有 openai-key 即可,随后在插件设置中配置就可以。 如果是代码层面的话,可以参考 https://github.com/LIlGG/plugin-live2d/tree/main/src/main/java/run/halo/live2d/openai

请问API_BASE_URL怎么设置哇,我查了官方文档找到了个这个
https://api.openai.com/v1/chat/completions

from plugin-live2d.

LIlGG avatar LIlGG commented on June 11, 2024

抱歉回复的较晚。一般来说只需要具有 openai-key 即可,随后在插件设置中配置就可以。 如果是代码层面的话,可以参考 https://github.com/LIlGG/plugin-live2d/tree/main/src/main/java/run/halo/live2d/openai

请问API_BASE_URL怎么设置哇,我查了官方文档找到了个这个 https://api.openai.com/v1/chat/completions

BaseURL 代表调用 OpenAi 接口的地址,可以不设置,默认为 https://api.openai.com 是官方的地址。但大陆地区访问可能会超时或无法访问,此时就需要使用代理或者其他方式来更改这个地址用于访问。

from plugin-live2d.

yanpengfei-git avatar yanpengfei-git commented on June 11, 2024

抱歉回复的较晚。一般来说只需要具有 openai-key 即可,随后在插件设置中配置就可以。 如果是代码层面的话,可以参考 https://github.com/LIlGG/plugin-live2d/tree/main/src/main/java/run/halo/live2d/openai

请问API_BASE_URL怎么设置哇,我查了官方文档找到了个这个 https://api.openai.com/v1/chat/completions

BaseURL 代表调用 OpenAi 接口的地址,可以不设置,默认为 https://api.openai.com 是官方的地址。但大陆地区访问可能会超时或无法访问,此时就需要使用代理或者其他方式来更改这个地址用于访问。

我的是香港服务器,在终端中可以ping通官方接口,但是配置好key后,页面对话报错
image
image

from plugin-live2d.

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.