1、新增提交postman请求的Open_API参数(稳定无报错版本)

This commit is contained in:
Rdzleo 2026-03-02 10:12:59 +08:00
parent 58c33e3cb4
commit 0a6b35d979
3 changed files with 90 additions and 0 deletions

BIN
.DS_Store vendored

Binary file not shown.

BIN
main/.DS_Store vendored

Binary file not shown.

90
postman请求.md Normal file
View File

@ -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.6250615",
"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"
}