From a079ef44e53acd9e8df51dbb31cf5aea4f9be5bd Mon Sep 17 00:00:00 2001 From: ageer <ageerle@163.com> Date: 星期二, 27 二月 2024 20:52:19 +0800 Subject: [PATCH] init v1.0.0 --- ruoyi-admin/src/main/resources/application.yml | 50 ++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 40 insertions(+), 10 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 21309dc..4f438ac 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -220,11 +220,11 @@ # 鏄惁闇�瑕佺敤鎴峰悕瀵嗙爜楠岃瘉 auth: true # 鍙戦�佹柟锛岄伒寰猂FC-822鏍囧噯 - from: xxx@163.com + from: ageerle@163.com # 鐢ㄦ埛鍚嶏紙娉ㄦ剰锛氬鏋滀娇鐢╢oxmail閭锛屾澶剈ser涓簈q鍙凤級 - user: xxx@163.com + user: ageerle@163.com # 瀵嗙爜锛堝~鍐欐巿鏉冪爜锛� - pass: pass + pass: TOGXBVPYFVPFRQMQ # 浣跨敤 STARTTLS瀹夊叏杩炴帴锛孲TARTTLS鏄绾枃鏈�氫俊鍗忚鐨勬墿灞曘�� starttlsEnable: true # 浣跨敤SSL瀹夊叏杩炴帴 @@ -318,14 +318,10 @@ path: '' # 璁剧疆璁块棶婧愬湴鍧� allowedOrigins: '*' -# AI鍔╂墜閰嶇疆淇℃伅 +# chatgpt閰嶇疆淇℃伅 chat: - apiKey: '' - apiHost: '' -# 涓浆鎺ュ彛 -transit: - apiKey: '' - apiHost: 'https://api.gptgod.online/' + apiKey: 'sk-uMCP3lTg1dQ9L7Xs2bF352Fa216a4c9280577b205dE67e12' + apiHost: 'https://api.pandarobot.chat/' # 寰俊灏忕▼搴忛厤缃俊鎭� wx: miniapp: @@ -343,3 +339,37 @@ apiKey: '' # apiKey secretKey: '' # secretKey +wechat: + # 鏄惁浣跨敤寰俊 true/false + enable: true + # 鐢熸垚鐨勭櫥褰曚簩缁寸爜璺緞 榛樿涓庨」鐩悓绾� + qrPath: "./" + +keyword: + # 閲嶇疆浼氳瘽鎸囦护 + reset: "閲嶇疆浼氳瘽" + # ai鐢诲浘鎸囦护(DALL路E妯″瀷 https://platform.openai.com/docs/models/dall-e) + # generation 鏍规嵁鍏抽敭璇嶇敓鎴愬浘鐗�(https://platform.openai.com/docs/guides/images/generations) + image: "ai鐢诲浘" + # ai璇煶鎸囦护(TTS妯″瀷 https://platform.openai.com/docs/api-reference/audio) + audio: "ai璇煶" +mj: + api-secret: + task-store: + type: in_memory + timeout: 30d + translate-way: gpt +# proxy: +# host: 127.0.0.1 +# port: 10809 + ng-discord: + server: https://discord.pandarobot.chat/ + cdn: https://app.pandarobot.chat/ + wss: https://gateway.pandarobot.chat/ + openai: + gpt-api-url: 'https://api.pandarobot.chat/' + gpt-api-key: 'sk-xxx' + accounts: + - guild-id: 'xxxxx' + channel-id: 'xxxxx' + user-token: 'xx.xx' -- Gitblit v1.9.3