Comments (12)
用api需要额外申请,好像要填个表格,哪位仁兄有成功经验来讲讲😂
from gpt_academic.
还有就是用自己的域名能登陆但是不能问答,用给的public url没问题,因为问答是wss协议的原因吗
from gpt_academic.
还有就是用自己的域名能登陆但是不能问答,用给的public url没问题,因为问答是wss协议的原因吗
或者说是我服务器ip被chatgpt限制了,但是public url是走了代理的所以没有问题是吗
from gpt_academic.
还有就是用自己的域名能登陆但是不能问答,用给的public url没问题,因为问答是wss协议的原因吗
或者说是我服务器ip被chatgpt限制了,但是public url是走了代理的所以没有问题是吗
要不要加个联系方式一起交流交流摸索摸索试试
from gpt_academic.
我也想知道什么时候能用gpt4的接口
from gpt_academic.
你得再openai的api官网申请啊,这个和chatgpt的gpt4模型不是同一个地方,cahtgpt你可以用gpt4不代表你能用api。https://platform.openai.com/overview在这里注册之后,需要申请GPT-4 api的权限,现在都是再排队,不知道什么时候才能开放呢
from gpt_academic.
要申请是什么意思,我能在官网用4.0模型,在配置文件这样改吗 LLM_MODEL = "gpt4" 改了出错了
会不会是改成gpt-4
from gpt_academic.
要申请是什么意思,我能在官网用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.
我买了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.
from gpt_academic.
我买了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.
from gpt_academic.
Related Issues (20)
- [Bug]: 由于最为关键的转化PDF编译失败, 将根据报错信息修正tex源文件并重试, 当前报错的latex代码处于第[-1]行 ... HOT 4
- [Bug]: API KEY不满足任何一种已知的密钥格式 HOT 9
- [Feature]: 其他语言以及文件类型
- [Bug]: pdflatex 编译 merge.tex 报错:! Class acmart Error: An attempt to redefine \baselinestretch detected
- [Bug]: 您提供的api-key不满足要求,不包含任何可用于internvl2-40b的api-key。您可能选择了错误的模型或请求源。
- [Bug]: Traceback (most recent call last): File ".\request_llms\bridge_chatgpt.py", line 316, in predict raise ValueError(f'无法读取以下数据,请检查配置。\n\n{chunk_decoded}') ValueError: 无法读取以下数据,请检查配置。
- [Bug]: multi_language.py translate error HOT 2
- [Bug]: File "/projects/gpt_academic/themes/gui_toolbar.py", line 4, in define_gui_toolbar with gr.Floating(init_x="0%", init_y="0%", visible=True, width=None, drag="forbidden", elem_id="tooltip"):
- [Feature]: Dalle3 如何根据上传的图片生成指定内容的图片
- [Feature]: Add support for Mistral AI
- [Feature]: 联网搜索报错 HOT 3
- [Feature]: OpenAI 接口兼容
- [Feature]: 支持使用 IP2Location.io API
- [Feature]: 目前web的上传excel分析的功能能否实现
- [Feature]: 必要时由用户指定 LaTex 主文件
- [Feature]: 希望可以增加解析R语言项目
- [Bug]: api_key 验证无效 HOT 6
- [Bug]: 连接超时 HOT 1
- [Bug]: Latex全文校对纠错的结果没有高亮显示
- [Feature]: 批量arxiv论文翻译。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpt_academic.