快速构建 AI 聊天机器人,适用于客服、销售、内部助手等场景。
javascript
// 创建客服机器人
const bot = createChatbot({
name: "客服助手",
knowledgeBase: ["./docs/product.pdf", "./docs/faq.md"],
channels: ["web", "wechat"],
handoffThreshold: 0.6
})
// 配置对话流程
bot.addFlow("order_inquiry", {
steps: [
{ ask: "请问您的订单号是?", save: "order_id" },
{ action: "query_order", use: "order_id" },
{ respond: "您的订单状态是:${order.status}" }
]
})
// 部署到 Web
bot.deploy({
target: "web",
container: "#chat-widget"
})
类型复杂度价格范围基础客服单渠道+FAQ$5,000-$15,000智能助手多渠道+RAG$15,000-$35,000企业方案全渠道+定制$35,000-$75,000+
需要定制化 AI 聊天机器人、企业级集成方案?
📧 联系:careytian-ai@github
MIT-0