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

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

 

/*
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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。