diff --git a/src/.vuepress/config.ts b/src/.vuepress/config.ts index 98943dda9..1f52f67df 100644 --- a/src/.vuepress/config.ts +++ b/src/.vuepress/config.ts @@ -41,7 +41,7 @@ export default defineUserConfig({ [ "link", { - href: "https://fonts.googleapis.com/css2?family=ZCOOL+XiaoWei&display=swap", + href: "https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@200&family=ZCOOL+XiaoWei&display=swap", rel: "stylesheet", }, ], diff --git a/src/.vuepress/styles/palette.scss b/src/.vuepress/styles/palette.scss index b4b4c262c..3291665d7 100644 --- a/src/.vuepress/styles/palette.scss +++ b/src/.vuepress/styles/palette.scss @@ -1,3 +1,3 @@ // you can change colors here $theme-colors: #bf1832,#5F4B8B, #dd4025,#f5df4d; -$font-family: 'ZCOOL XiaoWei'; \ No newline at end of file +$font-family: 'Playpen Sans,ZCOOL XiaoWei'; \ No newline at end of file diff --git a/src/posts/Q&A.md b/src/posts/Q&A.md index a8b8d0334..4e96fcd61 100644 --- a/src/posts/Q&A.md +++ b/src/posts/Q&A.md @@ -36,6 +36,7 @@ openai_config = { } ``` > 本问题可见于[功能介绍的api-key的配置](./functionIntroduction.md/#api-key的配置) +提示:如果你的API Key来自转发API,需在反向代理"reverse_proxy"中配置BASE_URL,通常为:https://管理地址/v1 ::: ## [bot]person_ xxxxxxx会话调用API失败:Error communicating with OpenAI您的网络无法访问OpenAI接口或网络代理不正常 :::tip 解答 diff --git a/src/posts/deploymentTutorial/manual.md b/src/posts/deploymentTutorial/manual.md index f1ffe68d0..081ac7ff8 100644 --- a/src/posts/deploymentTutorial/manual.md +++ b/src/posts/deploymentTutorial/manual.md @@ -6,8 +6,8 @@ head: title: 手动部署(推荐,可以在所有平台上使用) icon: support order: 3 -author: Lazy -date: 2023-09-30 +author: Lazy.ikun +date: 2023-10-29 category: - 部署教程 --- @@ -72,7 +72,4 @@ python3 main.py python3 main.py ``` -无报错信息即为运行成功 - - - \ No newline at end of file +无报错信息即为运行成功 \ No newline at end of file diff --git a/src/posts/functionIntroduction.md b/src/posts/functionIntroduction.md index 66553a75f..c547b6e8b 100644 --- a/src/posts/functionIntroduction.md +++ b/src/posts/functionIntroduction.md @@ -6,8 +6,8 @@ head: title: 功能介绍 icon: info order: 2 -author: Lazy -date: 2023-09-30 +author: Lazy,ikun +date: 2023-10-28 category: - 功能介绍 --- @@ -151,6 +151,8 @@ openai_config = { 如果你使用我提供的反向代理,那么请将`"reverse_proxy": None`改为`"reverse_proxy": "http://api.openai.lazyshare.top/v1"` 设置完成后应是如图情况(我这里用了一个api_key) ![反代设置.jpg](https://s2.loli.net/2023/08/16/GeoiZCbLtfg3uqH.jpg) +[**文档另一位编写者**](https://space.bilibili.com/1255655486)提供一个反向代理地址`https://openai.ikunshare.link/v1`,反代不一定长期有效,所以快去三连 +如果使用我提供的反代,请将`"reverse_proxy": None`改为`"reverse_proxy": "https://openai.ikunshare.link/v1"` ### 特殊情况 正常情况下,截至目前,主要使用的还是gpt-3.5模型,可以免费体验,因此大多数采用的是官方接口,无论是你自己注册还是正常商家出售的。