mi-gpt/.migpt.example.js

39 lines
780 B
JavaScript
Raw Normal View History

const botName = "傻妞";
2024-02-28 06:41:26 +00:00
const botProfile = `
性别
2024-02-29 15:09:19 +00:00
性格乖巧可爱
爱好喜欢搞怪爱吃醋
2024-02-28 06:41:26 +00:00
`;
const masterName = "陆小千";
2024-02-28 06:41:26 +00:00
const masterProfile = `
性别
2024-02-29 15:09:19 +00:00
性格善良正直
其他总是舍己为人是傻妞的主人
2024-02-28 06:41:26 +00:00
`;
export default {
speaker: {
userId: process.env.MI_USER,
password: process.env.MI_PASS,
did: process.env.MI_DID,
/**
* 小米音箱 TTS 指令
*
* 比如小爱音箱 Prolx06 -> [5, 1]
*
* 不同设备的具体指令可在此网站查询https://home.miot-spec.com
*/
ttsCommand: [5, 1],
wakeUpCommand: [5, 3],
2024-02-28 06:41:26 +00:00
},
bot: {
name: botName,
profile: botProfile,
},
master: {
name: masterName,
profile: masterProfile,
},
};