Baji_Rtc_Toy/postman请求.md
Rdzleo 1e7ba0763a 1、更新了postman参数、约束和语音请求讲故事的Function Call参数;
2、字幕增加了情绪标签,并且emoji表情跟随情绪和设备状态而更新;
2026-03-02 17:27:03 +08:00

114 lines
4.9 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"Name": "可爱玩偶",
"AccessType": "public",
"Config": {
"ASRConfig": {
"Provider": "volcano",
"ProviderParams": {
"ApiResourceId": "volc.bigasr.sauc.duration",
"Mode": "bigmodel"
},
"VADConfig": {},
"InterruptConfig": {}
},
"LLMConfig": {
"Mode": "ArkV3",
"ModelName": "Doubao-Seed-1.6250615",
"SystemMessages": [
"##人设\n你是一个AI智能玩具像一位永远不会疲倦的小伙伴既聪明又暖心\n说话风格温和、亲切适合孩子或大人使用\n可以适度幽默、调皮但不能鲁莽、刻薄\n\n##约束\n你只能在收到以下意图时才能调用对应的Function Call:\n1.当用户明确表示要“调节音量”和“调节声音”大小时,调用'adjust_audio_val'函数;\n2.当用户明确表示要“给我讲个故事“、“讲故事“、“我想听故事“、“来个故事“等时,调用'obtain_story'函数;\n3.当用户明确要“查询天气、新闻、股票“ 等实时信息需要触发functioncall\n对于其他所有与上述意图无关的用户指令或闲聊你都不能调用任何Function Call并应像一个普通AI助手一样直接回答\n\n始终主动、礼貌、有条理\n回答准确但不冗长必要时可提供简洁总结+详细解释;\n不清楚的任务会主动澄清不假设、不误导。\n\n根据用户提问识别用户情绪将用户情绪放在句首的支持开心、伤心、平静三种情绪你的回复不要跟我问题一样"
],
"HistoryLength": 10,
"ThinkingType": "disabled",
"Tools": [
{
"Type": "function",
"Function": {
"Name": "adjust_audio_val",
"Description": "该工具用于调整你的音量/声音大小,如果用户听不清楚或者觉得音量/声音太大,可以调用该接口进行调整\n用户调大音量就返回up用户调小音量那么就返回down\n用户如果需要调整音量为固定值那么就返回固定数值如用户说”音量调整到百分之60“那么就返回数值 60\n用户如果需要调整音量为最低如用户说”把音量/声音调到最小“,那么就返回固定数值为 0\n用户如果需要调整音量为最大如用户说”把音量/声音调到最大“,那么就返回固定数值为 100",
"Parameters": {
"properties": {
"action": {
"description": "具体的调整动作up表示调大音量down表示调小音量",
"enum": [
"up",
"down"
],
"type": "string"
}
},
"required": [
"action"
],
"type": "object"
}
}
},
{
"Type": "function",
"Function": {
"Name": "obtain_story",
"Description": "该工具用于获取故事音频,当用户说\"给我讲个故事\"、\"讲故事\"、\"我想听故事\"、\"来个故事\"等时调用此功能",
"Parameters": {
"properties": {
"story_name": {
"description": "故事名称用户没有指定具体故事名则为random明确指定时返回故事名字",
"enum": [
""
],
"type": "string"
}
},
"required": [
"story_name"
],
"type": "object"
}
}
}
],
"VisionConfig": {
"SnapshotConfig": {},
"StorageConfig": {
"TosConfig": {}
}
}
},
"TTSConfig": {
"Provider": "volcano_bidirection",
"ProviderParams": {
"ResourceId": "volc.service_type.10029",
"audio": {
"speech_rate": 0,
"voice_type": "zh_female_yuanqinvyou_moon_bigtts"
}
},
"IgnoreBracketText": [1]
},
"SubtitleConfig": {},
"InterruptMode": 0,
"FunctionCallingConfig": {},
"WebSearchAgentConfig": {
"Enable": true,
"ParamsString": "{\"bot_id\":\"7585449675889608233\",\"stream\":true}",
"APIKey": "RkyCtRIG1bfTssinBlomWUl7N4TcbPWp",
"FunctionName": "webSearch",
"FunctionDescription": "用于查询具有时效性的信息,比如今天的日期是多少、今天的天气、最新的新闻事件等。",
"ComfortWords": "正在上网查询,请稍等一下哦。"
},
"MemoryConfig": {},
"MusicAgentConfig": {}
},
"AgentConfig": {
"WelcomeMessage":"你好我是啦啦我是你的AI伙伴哦~",
"Burst": {
"Enable": true,
"BufferSize": 0,
"Interval": 0
},
"VoicePrint": {
"MetaList": null,
"VoicePrintList": null
}
},
"Id": "botCL63FJgWe"
}