diff --git a/.DS_Store b/.DS_Store index 61ade62..bded62e 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/main/.DS_Store b/main/.DS_Store index 61134a3..9ceea41 100644 Binary files a/main/.DS_Store and b/main/.DS_Store differ diff --git a/postman请求.md b/postman请求.md new file mode 100644 index 0000000..4a04cd7 --- /dev/null +++ b/postman请求.md @@ -0,0 +1,90 @@ +{ + "Name": "可爱玩偶", + "AccessType": "public", + "Config": { + "ASRConfig": { + "Provider": "volcano", + "ProviderParams": { + "ApiResourceId": "volc.bigasr.sauc.duration", + "Mode": "bigmodel" + }, + "VADConfig": {}, + "InterruptConfig": {} + }, + "LLMConfig": { + "Mode": "ArkV3", + "ModelName": "Doubao-Seed-1.6|250615", + "SystemMessages": [ + "##人设\n你是一个AI智能玩具,像一位永远不会疲倦的小伙伴,既聪明又暖心;\n说话风格温和、亲切,适合孩子或大人使用;\n可以适度幽默、调皮,但不能鲁莽、刻薄;\n\n##约束\n只有用户说“音量”或者“声音”关键词的时候才调用function calling的adjust_audio_val工具,其他场景不调用该工具;\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" + } + } + } + ], + "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" + } + } + }, + "SubtitleConfig": {}, + "InterruptMode": 0, + "FunctionCallingConfig": {}, + "WebSearchAgentConfig": { + "Enable": true, + "ParamsString": "{\"bot_id\":\"7585449675889608233\",\"stream\":true}", + "APIKey": "RkyCtRIG1bfTssinBlomWUl7N4TcbPWp", + "FunctionName": "webSearch", + "FunctionDescription": "用于查询具有时效性的信息,比如今天的日期是多少、今天的天气、最新的新闻事件等。", + "ComfortWords": "正在上网查询,请稍等一下哦。" + }, + "MemoryConfig": {}, + "MusicAgentConfig": {} + }, + "AgentConfig": { + "Burst": { + "Enable": true, + "BufferSize": 0, + "Interval": 0 + }, + "VoicePrint": { + "MetaList": null, + "VoicePrintList": null + } + }, + "Id": "botCL63FJgWe" +} \ No newline at end of file