赞
踩
3月15日open-ai推出GPT-4
https://platform.openai.com/docs/models/gpt-4
chatgpt免费体验入口:
需要排队
28号加入等候队列
29号收到邀请
检查可用的model
- const { Configuration, OpenAIApi } = require('openai')
-
-
- let listModels = []
- const aiInit1 = async (req, res) => {
- const listModesRes = await openai.listModels()
- listModels = listModesRes.data
- }
-
- aiInit1()
已经有gpt-4了
问他是不是GPT-4,但是他并不承认自己是GPT-4
- const { Configuration, OpenAIApi } = require('openai')
-
- const configuration = new Configuration({
- organization: 'org-XXX',
- apiKey: 'sk-XXX',
- })
- const openai = new OpenAIApi(configuration)
-
- const aiInit = async (req, res) => {
- const { message } = req.body
- let errorData = ''
- let completionRes = { data: '' }
-
- completionRes = await openai
- .createChatCompletion({
- model: 'gpt-4',
- messages: [{ role: 'user', content: message }],
- })
- .catch((err) => {
- errorData = err
- })
-
-
- const completion = completionRes ? completionRes.data : ''
- res.send({
- code: 200,
- data: {
- completion,
- errorData,
- listModels,
- },
- message: '成功',
- })
- }

https://platform.openai.com/docs/models/gpt-4
查文档发现他的训练时间是2021年9月,而且他还没有通过插件联网,所有他不知道GPT-4的诞生
https://chatgpt4.ai/gpt-4-0314/
图片输入功能也处于限制状态
https://github.com/openai/evals/issues/381
github上也说通过API调用GPT-4和官网plus会员的不一样
GPT-4和gpt-3.5对比,感觉略胜一筹
GPT-4还有开发者模式输出,结尾还有表情
官网plus会员GPT-4(20美元一个月)
第三方应用API接口会员GPT-4(一个月若干元)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。