ChatGPT付费创作系统V2.7.2 Gemini使用模型(model)接口 为空的解决方法

Gemini是一款由Google DeepMind(谷歌母公司Alphabet下设立的人工智能实验室)于2023年12月6日发布的人工智能模型,可同时识别文本、图像、音频、视频和代码五种类型信息,还可以理解并生成主流编程语言(如Python、Java、C++)的高质量代码,并拥有全面的安全性评估。首个版本为Gemini 1.0,包括三个不同体量的模型:用于处理“高度复杂任务”的Gemini Ultra、用于处理多个任务的Gemini Nano和用于处理“终端上设备的特定任务”的Gemini Pro。

-------------------------------------------------------------------

谷歌Gemini是对标ChatGPT 4.0的,两家是竞争关系,而且目前Gemini是免费使用的,今天看了则新闻Gemini功能很强大,说明谷歌出手了,目的就是openAI太火必须出手了。

2.7.版本已增加了Gemini接口,后台一看怎么是空的,重导了几次数据表fox_chatgpt_engine(接口参数表)还是不行,换了几台电脑也一样也没查出原因,不想太浪费时间,干脆手功增加了。

涉及数据表如下,可打开编辑Navicat工具或者宝塔后台进入数据库

1709386380-0de3ffe197eaba2

具体问题如下:少了两个字段,同时38行Gemini接口参数为空。

1709386322-f78321353cf7053

具体对照处理正确后如下:

处理办法,对照下表自己增加38行增加接口模型,同时增加两个字段maxinput和maxout,

1709386546-14dfacb1129f0e2

为方便大家该表已提供下载,可删除fox_chatgpt_engine表,再对应导入下载的表,导入成功后台显示就会正常

1709387003-e5876757a6c3d34

或者复制下面语句打开对应数据库执行也可以

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
Navicat Premium Data Transfer

Source Server : chat.ttbobo.cn
Source Server Type : MySQL
Source Server Version : 50743
Source Host : 106.58.184.200:3306
Source Schema : chat_ttbobo_cn

Target Server Type : MySQL
Target Server Version : 50743
File Encoding : 65001

Date: 02/03/2024 21:38:19
*/


SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for fox_chatgpt_engine
-- ----------------------------
DROP TABLE IF EXISTS `fox_chatgpt_engine`;
CREATE TABLE `fox_chatgpt_engine` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`state` tinyint(1) NULL DEFAULT 1,
`type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`maxlen` int(11) NULL DEFAULT 0,
`maxinput` int(11) NULL DEFAULT NULL,
`maxout` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 39 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of fox_chatgpt_engine
-- ----------------------------
INSERT INTO `fox_chatgpt_engine` VALUES (1, 'gpt-3.5-turbo', 'gpt-3.5-turbo', 1, 'openai3', 4096, 0, 1500);
INSERT INTO `fox_chatgpt_engine` VALUES (2, 'gpt-3.5-turbo-0613', 'gpt-3.5-turbo-0613', 1, 'openai3', 4096, 0, 1500);
INSERT INTO `fox_chatgpt_engine` VALUES (3, 'gpt-3.5-turbo-1106', 'gpt-3.5-turbo-1106', 1, 'openai3', 4096, 14000, 2000);
INSERT INTO `fox_chatgpt_engine` VALUES (4, 'gpt-3.5-turbo-16k', 'gpt-3.5-turbo-16k', 1, 'openai3', 16384, 0, 3000);
INSERT INTO `fox_chatgpt_engine` VALUES (5, 'gpt-3.5-turbo-16k-0613', 'gpt-3.5-turbo-16k-0613', 1, 'openai3', 16384, 0, 3000);
INSERT INTO `fox_chatgpt_engine` VALUES (6, 'gpt-4', 'gpt-4', 1, 'openai4', 8192, 0, 2000);
INSERT INTO `fox_chatgpt_engine` VALUES (7, 'gpt-4-0613', 'gpt-4-0613', 1, 'openai4', 8192, 0, 2000);
INSERT INTO `fox_chatgpt_engine` VALUES (8, 'gpt-4-1106-preview', 'gpt-4-1106-preview', 1, 'openai4', 128000, 120000, 4000);
INSERT INTO `fox_chatgpt_engine` VALUES (9, 'gpt-4-vision-preview', 'gpt-4-vision-preview', 1, 'openai4', 32768, 120000, 4000);
INSERT INTO `fox_chatgpt_engine` VALUES (10, 'gpt-4-32k', 'gpt-4-32k', 1, 'openai4', 32768, 0, 4000);
INSERT INTO `fox_chatgpt_engine` VALUES (11, 'gpt-4-32k-0613', 'gpt-4-32k-0613', 1, 'openai4', 32768, 0, 4000);
INSERT INTO `fox_chatgpt_engine` VALUES (12, 'ERNIE-Bot', 'ERNIE-Bot', 1, 'wenxin', 3000, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (13, 'ERNIE-Bot-turbo', 'ERNIE-Bot-turbo', 1, 'wenxin', 3000, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (14, 'Llama-2-13b-chat', 'Llama-2-13b-chat', 1, 'wenxin', 3000, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (15, 'Llama-2-70b-chat', 'Llama-2-70b-chat', 1, 'wenxin', 3000, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (16, 'ChatGLM2-6B-32K', 'ChatGLM2-6B-32K', 1, 'wenxin', 3000, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (17, 'ERNIE-Bot-4', 'ERNIE-Bot-4', 1, 'wenxin4', 3000, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (18, 'gpt-3.5-turbo', 'gpt-3.5-turbo', 1, 'lxai', 4096, 0, 1500);
INSERT INTO `fox_chatgpt_engine` VALUES (19, 'gpt-3.5-turbo-0613', 'gpt-3.5-turbo-0613', 1, 'lxai', 4096, 0, 1500);
INSERT INTO `fox_chatgpt_engine` VALUES (20, 'gpt-3.5-turbo-16k', 'gpt-3.5-turbo-16k', 1, 'lxai', 16384, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (21, 'gpt-3.5-turbo-16k-0613', 'gpt-3.5-turbo-16k-0613', 1, 'lxai', 16384, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (22, '星火认知大模型V1.5', 'general', 1, 'xunfei', 4096, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (23, '星火认知大模型V2.0', 'generalv2', 1, 'xunfei', 8192, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (24, '星火认知大模型V3.0', 'generalv3', 1, 'xunfei', 8192, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (25, 'qwen-turbo', 'qwen-turbo', 1, 'tongyi', 8192, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (26, 'qwen-plus', 'qwen-plus', 1, 'tongyi', 32768, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (27, 'qwen-max(限时免费)', 'qwen-max', 1, 'tongyi', 8192, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (28, 'qwen-max-1201(限时免费)', 'qwen-max-1201', 1, 'tongyi', 8192, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (29, 'qwen-max-longcontext(限时免费)', 'qwen-max-longcontext', 1, 'tongyi', 30720, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (30, 'ChatGLM-Turbo', 'chatglm_turbo', 1, 'zhipu', 32768, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (31, 'claude-2', 'claude-2', 1, 'claude2', 8192, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (32, 'claude-1', 'claude-instant-1', 1, 'claude2', 8192, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (33, 'gpt-35-turbo', 'gpt-35-turbo', 1, 'azure_openai3', 4096, 0, 1500);
INSERT INTO `fox_chatgpt_engine` VALUES (34, 'gpt-35-turbo-16k', 'gpt-35-turbo-16k', 1, 'azure_openai3', 16384, 0, 2000);
INSERT INTO `fox_chatgpt_engine` VALUES (35, 'gpt-4', 'gpt-4', 1, 'azure_openai4', 8192, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (36, 'gpt-4-32k', 'gpt-4-32k', 1, 'azure_openai4', 32768, 0, 0);
INSERT INTO `fox_chatgpt_engine` VALUES (37, 'gpt-4-vision-preview', 'gpt-4-vision-preview', 1, 'azure_openai4', 128000, 12000, 4000);
INSERT INTO `fox_chatgpt_engine` VALUES (38, 'gemini-pro', 'gemini-pro', 1, 'gemini', 32768, 30000, 2000);

SET FOREIGN_KEY_CHECKS = 1;

服务声明: 本网站所有发布的源码、软件和资料均为作者提供或网友推荐收集各大资源网站整理而来,仅供功能验证和学习研究使用,您必须在下载后24小时内删除。不得使用于非法商业用途,不得违反国家法律,否则后果自负!一切关于该资源商业行为与本站无关。如果您喜欢该程序,请购买正版源码,能得到更好的正版售后服务。如有侵犯你的版权合法权益,请邮件或QQ与我们联系处理(邮箱:3089659733@qq.com),本站将立即删除改正。

播播资源 » ChatGPT付费创作系统V2.7.2 Gemini使用模型(model)接口 为空的解决方法

发表回复