{"id":26483861,"url":"https://github.com/chatopera/clause-sdk-java","last_synced_at":"2026-03-11T05:30:57.777Z","repository":{"id":53797949,"uuid":"206956638","full_name":"chatopera/clause-sdk-java","owner":"chatopera","description":"Java Sample Project for Chatopera Clause","archived":false,"fork":false,"pushed_at":"2021-03-12T21:59:08.000Z","size":108,"stargazers_count":1,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-17T15:50:18.488Z","etag":null,"topics":["chatbot","clause"],"latest_commit_sha":null,"homepage":"https://github.com/chatopera/clause","language":"Java","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-07T11:11:36.000Z","updated_at":"2023-10-25T08:45:59.000Z","dependencies_parsed_at":"2022-08-24T14:52:12.392Z","dependency_job_id":null,"html_url":"https://github.com/chatopera/clause-sdk-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chatopera/clause-sdk-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatopera%2Fclause-sdk-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatopera%2Fclause-sdk-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatopera%2Fclause-sdk-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatopera%2Fclause-sdk-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chatopera","download_url":"https://codeload.github.com/chatopera/clause-sdk-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatopera%2Fclause-sdk-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30372161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","clause"],"created_at":"2025-03-20T04:58:26.962Z","updated_at":"2026-03-11T05:30:57.747Z","avatar_url":"https://github.com/chatopera.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clause-sdk-java\n\n开源语义理解服务[Clause](https://github.com/chatopera/clause)的 Java 客户端示例程序。\n\n\n## 示例程序运行\n\n前提是已经部署了 Clause 服务，该示例程序介绍了如何在 Java 应用中，使用 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/clause-sdk-java.git\ncd java-clause\nedit src/test/java/com/chatopera/clause/ClauseClientTest.java  # 使用文本编辑器修改 CLAUSE_IP 和 CLAUSE_PORT 的值\nmvn -Dtest=ClauseClientTest#testApp test\n```\n\n## API 接口详细介绍\n\n参考[链接](https://github.com/chatopera/clause-sdk-java/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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatopera%2Fclause-sdk-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchatopera%2Fclause-sdk-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatopera%2Fclause-sdk-java/lists"}