{
"config": {
"skillhub_token": "鉴权串",
"kafka": {
"bootstrap_servers": "127.0.0.1:9092",
"topic_group_send": "wx_group_send_topic",
"topic_entry_push": "wx_entry_notice_topic",
"topic_auto_reply": "wx_auto_reply_topic",
"producer_timeout": 5000
},
"openai": {
"api_key": "sk-xxx",
"base_url": "https://api.openai.com/v1",
"model": "gpt-3.5-turbo",
"temperature": 0.7
}
},
"action_type": "group_send", // group_send / entry_push / msg_callback
"params": {} // 对应每个动作的业务参数
}
action_type 可选值
- group_send 微信群发
- entry_push 进件推送
- msg_callback 消息自动回复
返回格式
{"code":0,"msg":"描述","data":{}}
code=0 成功,非0为失败