Coder Social home page Coder Social logo

Comments (12)

binary-husky avatar binary-husky commented on August 27, 2024

用api需要额外申请,好像要填个表格,哪位仁兄有成功经验来讲讲😂

from gpt_academic.

Austin-Jack avatar Austin-Jack commented on August 27, 2024

还有就是用自己的域名能登陆但是不能问答,用给的public url没问题,因为问答是wss协议的原因吗

from gpt_academic.

Austin-Jack avatar Austin-Jack commented on August 27, 2024

还有就是用自己的域名能登陆但是不能问答,用给的public url没问题,因为问答是wss协议的原因吗

或者说是我服务器ip被chatgpt限制了,但是public url是走了代理的所以没有问题是吗

from gpt_academic.

from-china-to avatar from-china-to commented on August 27, 2024

还有就是用自己的域名能登陆但是不能问答,用给的public url没问题,因为问答是wss协议的原因吗

或者说是我服务器ip被chatgpt限制了,但是public url是走了代理的所以没有问题是吗

要不要加个联系方式一起交流交流摸索摸索试试

from gpt_academic.

hqy2020 avatar hqy2020 commented on August 27, 2024

我也想知道什么时候能用gpt4的接口

from gpt_academic.

ZacharyZhang-NY avatar ZacharyZhang-NY commented on August 27, 2024

你得再openai的api官网申请啊,这个和chatgpt的gpt4模型不是同一个地方,cahtgpt你可以用gpt4不代表你能用api。https://platform.openai.com/overview在这里注册之后,需要申请GPT-4 api的权限,现在都是再排队,不知道什么时候才能开放呢

from gpt_academic.

ShiXiangnan avatar ShiXiangnan commented on August 27, 2024

要申请是什么意思,我能在官网用4.0模型,在配置文件这样改吗 LLM_MODEL = "gpt4" 改了出错了

会不会是改成gpt-4

from gpt_academic.

ZacharyZhang-NY avatar ZacharyZhang-NY commented on August 27, 2024

要申请是什么意思,我能在官网用4.0模型,在配置文件这样改吗 LLM_MODEL = "gpt4" 改了出错了

会不会是改成gpt-4

是需要有权限的,假如你申请成功:

LATEST MODEL DESCRIPTION MAX TOKENS TRAINING DATA
gpt-4 More capable than any GPT-3.5 model, able to do more complex tasks, and optimized for chat. Will be updated with our latest model iteration. 8,192 tokens Up to Sep 2021
gpt-4-0314 Snapshot of gpt-4 from March 14th 2023. Unlike gpt-4, this model will not receive updates, and will only be supported for a three month period ending on June 14th 2023. 8,192 tokens Up to Sep 2021
gpt-4-32k Same capabilities as the base gpt-4 mode but with 4x the context length. Will be updated with our latest model iteration. 32,768 tokens Up to Sep 2021
gpt-4-32k-0314 Snapshot of gpt-4-32 from March 14th 2023. Unlike gpt-4-32k, this model will not receive updates, and will only be supported for a three month period ending on June 14th 2023. 32,768 tokens Up to Sep 2021

from gpt_academic.

wucangeo avatar wucangeo commented on August 27, 2024

我买了Plus也买了API,但改了“gpt-4”后还是报错,估计是还没对GPT4做好适配。
名称应该没错,参考:https://platform.openai.com/docs/models/gpt-4

Traceback (most recent call last):
  File "/gpt/request_llm/bridge_chatgpt.py", line 169, in predict
    if len(json.loads(chunk.decode()[6:])['choices'][0]["delta"]) == 0:
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
^CKeyboard interruption in main thread... closing server.

from gpt_academic.

ShiXiangnan avatar ShiXiangnan commented on August 27, 2024

from gpt_academic.

wucangeo avatar wucangeo commented on August 27, 2024

我买了Plus也买了API,但改了“gpt-4”后还是报错,估计是还没对GPT4做好适配。 名称应该没错,参考:https://platform.openai.com/docs/models/gpt-4

Traceback (most recent call last):
  File "/gpt/request_llm/bridge_chatgpt.py", line 169, in predict
    if len(json.loads(chunk.decode()[6:])['choices'][0]["delta"]) == 0:
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
^CKeyboard interruption in main thread... closing server.

最新的3.x好像已经支持了

from gpt_academic.

ShiXiangnan avatar ShiXiangnan commented on August 27, 2024

from gpt_academic.

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.