An open API service indexing awesome lists of open source software.

https://github.com/chatopera/clause-sdk-node

Node.js Client Module for Chatopera Clause
https://github.com/chatopera/clause-sdk-node

chatbot

Last synced: about 2 months ago
JSON representation

Node.js Client Module for Chatopera Clause

Awesome Lists containing this project

README

          

# node-clause

开源语义理解服务[Clause](https://github.com/chatopera/clause)的 Node.js 客户端。

## 安装

```
npm install --save @chatopera/node-clause
```

## 示例程序

前提是已经部署了 Clause 服务,该示例程序介绍了如何在 Node.js 应用中,使用 Clause 服务构建聊天机器人,包括创建意图、创建说法、创建词典、引用系统词典、创建槽位、训练机器人和对话等部分。

该示例程序实现的[对话场景介绍](https://github.com/chatopera/clause/wiki/%E7%A4%BA%E4%BE%8B%E7%A8%8B%E5%BA%8F),熟悉对话场景有助于更好的掌握程序。

```
git clone https://github.com/chatopera/node-clause.git
cd node-clause
npm install
edit tests/tst-chatbot.js # 使用文本编辑器修改 CLAUSE_IP 和 CLAUSE_PORT 的值
DEBUG=chatopera* NODE_ENV=development node_modules/ava/cli.js tests/tst-chatbot.js
```

## API 接口详细介绍

参考[链接](https://github.com/chatopera/node-clause/wiki)。

## 开源许可协议

Copyright (2019) 北京华夏春松科技有限公司

[Apache License Version 2.0](https://github.com/chatopera/clause/blob/master/LICENSE)

[![chatoper banner][co-banner-image]][co-url]

[co-banner-image]: https://user-images.githubusercontent.com/3538629/42383104-da925942-8168-11e8-8195-868d5fcec170.png
[co-url]: https://www.chatopera.com

## Chatopera 云服务

[https://bot.chatopera.com/](https://bot.chatopera.com/)

[Chatopera 云服务](https://bot.chatopera.com)是一站式实现聊天机器人的云服务,按接口调用次数计费。Chatopera 云服务是 [Chatopera 机器人平台](https://docs.chatopera.com/products/chatbot-platform/index.html)的软件即服务实例。在云计算基础上,Chatopera 云服务属于**聊天机器人即服务**的云服务。

Chatopera 机器人平台包括知识库、多轮对话、意图识别和语音识别等组件,标准化聊天机器人开发,支持企业 OA 智能问答、HR 智能问答、智能客服和网络营销等场景。企业 IT 部门、业务部门借助 Chatopera 云服务快速让聊天机器人上线!

展开查看 Chatopera 云服务的产品截图


自定义词典



自定义词条



创建意图



添加说法和槽位



训练模型



测试对话



机器人画像



系统集成



聊天历史



立即使用