{"id":26483814,"url":"https://github.com/chatopera/clause-sdk-node","last_synced_at":"2026-04-21T05:33:20.281Z","repository":{"id":57101310,"uuid":"206944490","full_name":"chatopera/clause-sdk-node","owner":"chatopera","description":"Node.js Client Module for Chatopera Clause","archived":false,"fork":false,"pushed_at":"2020-10-11T00:41:28.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-23T00:59:56.800Z","etag":null,"topics":["chatbot"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chatopera.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-07T09:16:24.000Z","updated_at":"2023-09-01T08:41:00.000Z","dependencies_parsed_at":"2022-08-20T16:20:55.959Z","dependency_job_id":null,"html_url":"https://github.com/chatopera/clause-sdk-node","commit_stats":null,"previous_names":["chatopera/node-clause"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chatopera/clause-sdk-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatopera%2Fclause-sdk-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatopera%2Fclause-sdk-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatopera%2Fclause-sdk-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatopera%2Fclause-sdk-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chatopera","download_url":"https://codeload.github.com/chatopera/clause-sdk-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatopera%2Fclause-sdk-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32078920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T02:38:07.213Z","status":"ssl_error","status_checked_at":"2026-04-21T02:38:06.559Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatbot"],"created_at":"2025-03-20T04:58:09.979Z","updated_at":"2026-04-21T05:33:20.253Z","avatar_url":"https://github.com/chatopera.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-clause\n\n开源语义理解服务[Clause](https://github.com/chatopera/clause)的 Node.js 客户端。\n\n## 安装\n\n```\nnpm install --save @chatopera/node-clause\n```\n\n## 示例程序\n\n前提是已经部署了 Clause 服务，该示例程序介绍了如何在 Node.js 应用中，使用 Clause 服务构建聊天机器人，包括创建意图、创建说法、创建词典、引用系统词典、创建槽位、训练机器人和对话等部分。\n\n该示例程序实现的[对话场景介绍](https://github.com/chatopera/clause/wiki/%E7%A4%BA%E4%BE%8B%E7%A8%8B%E5%BA%8F)，熟悉对话场景有助于更好的掌握程序。\n\n```\ngit clone https://github.com/chatopera/node-clause.git\ncd node-clause\nnpm install\nedit tests/tst-chatbot.js # 使用文本编辑器修改 CLAUSE_IP 和 CLAUSE_PORT 的值\nDEBUG=chatopera* NODE_ENV=development node_modules/ava/cli.js tests/tst-chatbot.js\n```\n\n## API 接口详细介绍\n\n参考[链接](https://github.com/chatopera/node-clause/wiki)。\n\n## 开源许可协议\n\nCopyright (2019) \u003ca href=\"https://www.chatopera.com/\" target=\"_blank\"\u003e北京华夏春松科技有限公司\u003c/a\u003e\n\n[Apache License Version 2.0](https://github.com/chatopera/clause/blob/master/LICENSE)\n\n[![chatoper banner][co-banner-image]][co-url]\n\n[co-banner-image]: https://user-images.githubusercontent.com/3538629/42383104-da925942-8168-11e8-8195-868d5fcec170.png\n[co-url]: https://www.chatopera.com\n\n\n## Chatopera 云服务\n\n[https://bot.chatopera.com/](https://bot.chatopera.com/)\n\n[Chatopera 云服务](https://bot.chatopera.com)是一站式实现聊天机器人的云服务，按接口调用次数计费。Chatopera 云服务是 [Chatopera 机器人平台](https://docs.chatopera.com/products/chatbot-platform/index.html)的软件即服务实例。在云计算基础上，Chatopera 云服务属于**聊天机器人即服务**的云服务。\n\nChatopera 机器人平台包括知识库、多轮对话、意图识别和语音识别等组件，标准化聊天机器人开发，支持企业 OA 智能问答、HR 智能问答、智能客服和网络营销等场景。企业 IT 部门、业务部门借助 Chatopera 云服务快速让聊天机器人上线！\n\n\u003cdetails\u003e\n\u003csummary\u003e展开查看 Chatopera 云服务的产品截图\u003c/summary\u003e\n\u003cp\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e自定义词典\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530072-da92d600-d33e-11e9-8656-01c26caff4f9.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e自定义词条\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530091-e41c3e00-d33e-11e9-9704-c07a2a02b84e.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e创建意图\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530169-12018280-d33f-11e9-93b4-9db881cf4dd5.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e添加说法和槽位\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530187-20e83500-d33f-11e9-87ec-a0241e3dac4d.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e训练模型\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530235-33626e80-d33f-11e9-8d07-fa3ae417fd5d.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e测试对话\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530253-3d846d00-d33f-11e9-81ea-86e6d47020d8.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e机器人画像\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530312-6442a380-d33f-11e9-869c-85fb6a835a97.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e系统集成\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530281-4ecd7980-d33f-11e9-8def-c53251f30138.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e聊天历史\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530295-5856e180-d33f-11e9-94d4-db50481b2d8e.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e立即使用\u003c/b\u003e\u003cbr\u003e\n  \u003ca href=\"https://bot.chatopera.com\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://static-public.chatopera.com/assets/images/64531083-3199aa80-d341-11e9-86cd-3a3ed860b14b.png\" width=\"800\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatopera%2Fclause-sdk-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchatopera%2Fclause-sdk-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatopera%2Fclause-sdk-node/lists"}