From b177561df4a7c81eb8a6a4693a96eaec182cd2c3 Mon Sep 17 00:00:00 2001 From: yutou <583819556@qq.com> Date: Thu, 26 Oct 2023 14:08:44 +0800 Subject: [PATCH] update gpt --- src/main/java/com/yutou/qqbot/models/BiliBili/BiliVideo.java | 2 +- src/main/java/com/yutou/qqbot/utlis/BaiduGPTManager.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/yutou/qqbot/models/BiliBili/BiliVideo.java b/src/main/java/com/yutou/qqbot/models/BiliBili/BiliVideo.java index 2dd41ff..13091a3 100644 --- a/src/main/java/com/yutou/qqbot/models/BiliBili/BiliVideo.java +++ b/src/main/java/com/yutou/qqbot/models/BiliBili/BiliVideo.java @@ -366,7 +366,7 @@ public class BiliVideo extends Model { //video.downVideo("https://www.bilibili.com/video/BV1qF411T7Vf?spm_id_from=444.41.list.card_archive.click"); //唐诱正片 //video.downVideo("https://www.bilibili.com/video/BV1L44y147zR?spm_id_from=333.999.0.0");// ep1 - video.downVideo("https://www.bilibili.com/video/BV18L4y1H7rz?spm_id_from=333.999.0.0", true, false);// ep5 + video.downVideo("https://www.bilibili.com/video/BV1Zu4y1B7DU/?spm_id_from=333.337.search-card.all.click", true, false);// ep5 // video.downVideo("https://www.bilibili.com/video/BV1SL411g7FS/?spm_id_from=333.788.recommend_more_video.0"); //all ig 1\5 // video.downVideo("https://www.bilibili.com/video/BV18L4y1H7rz?spm_id_from=333.999.0.0"); diff --git a/src/main/java/com/yutou/qqbot/utlis/BaiduGPTManager.java b/src/main/java/com/yutou/qqbot/utlis/BaiduGPTManager.java index b424b86..beed55a 100644 --- a/src/main/java/com/yutou/qqbot/utlis/BaiduGPTManager.java +++ b/src/main/java/com/yutou/qqbot/utlis/BaiduGPTManager.java @@ -13,7 +13,8 @@ import java.util.Map; public class BaiduGPTManager { private static int MAX_MESSAGE = 5; private static BaiduGPTManager manager; - private static final String url = "https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/completions"; + //private static final String url = "https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/completions"; + private static final String url = "https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/completions_pro"; private static final String AppID = "36668599"; private static final String ApiKey = "eyHo6K2ILBm7i378701Az1eT"; private static final String SecretKey = "U4vXt8AOTM9FgB0Omft5IOh6vwhzoDgZ";