{"id":20737466,"url":"https://github.com/candlewill/chatscript_doc","last_synced_at":"2025-12-24T06:06:08.431Z","repository":{"id":71816492,"uuid":"79762058","full_name":"candlewill/ChatScript_DOC","owner":"candlewill","description":"A collection of document for ChatScript dialog engine","archived":false,"fork":false,"pushed_at":"2017-04-28T08:54:45.000Z","size":13558,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T11:34:39.641Z","etag":null,"topics":["chatbot","chatscript","chatscript-engine","dialog","dialogue-agents"],"latest_commit_sha":null,"homepage":null,"language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/candlewill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-23T02:18:51.000Z","updated_at":"2024-01-27T17:51:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"415e3893-8eb6-43e0-8001-10ab990debea","html_url":"https://github.com/candlewill/ChatScript_DOC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/candlewill/ChatScript_DOC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candlewill%2FChatScript_DOC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candlewill%2FChatScript_DOC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candlewill%2FChatScript_DOC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candlewill%2FChatScript_DOC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/candlewill","download_url":"https://codeload.github.com/candlewill/ChatScript_DOC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candlewill%2FChatScript_DOC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27995883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"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","chatscript","chatscript-engine","dialog","dialogue-agents"],"created_at":"2024-11-17T06:14:35.172Z","updated_at":"2025-12-24T06:06:08.410Z","avatar_url":"https://github.com/candlewill.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatScript文档整理\n\nChatScript（下文简称CS）是一个使用C语言开发的，基于脚本的对话引擎，其代码高效，优雅。本项目用来收集[ChatScript](https://github.com/bwilcox-1234/ChatScript)的文档，以遍开发者快速上手，文档大多是英文，也有少部分是中文。\n\n## 说明\n\n1. 一个讲解CS原理的PPT，深入浅出，大力推荐：[Slides](./ChatScript%20Training.pdf)\n\n2. 用手手册，非常详细长达63页: [手册](./ChatScript%20User%20Manual.pdf)\n\n3. ChatScript官网所给的文档，原路径是：[wiki](https://github.com/bwilcox-1234/ChatScript/tree/master/WIKI)；如果不存在了，或者想集中管理，在本项目的[wiki文件夹](./wiki/)中也有已下载好的备份\n\n4. ChatScript系统函数文档，大约37页，[ChatScript System Functions Manual](./ChatScript%20System%20Functions%20Manual.pdf)\n\n5. ChatScript高级用户手册：[手册](./ChatScript%20Advanced%20User%20Manual.pdf)\n\n6. [ChatScript Engine and Private Code Manual](./ChatScript%20Engine%20and%20Private%20Code%20Manual.pdf)\n\u003cbr\u003eHow the internals of the engine work and how to extend it with private code.\n\n7. ChatScript使用JSON格式数据文档，7页: [ChatScript JSON](./ChatScript%20JSON.pdf)\n\u003cbr\u003e这个文档主要讲述了，以JSON格式表示的事实(Facts)，如何用ChatScript操控。\n\u003cbr\u003e更详细的一个文档，13页，见：[详细JSON](./ChatScript-Json.pdf)\n\n8. [Chatbot Creation Options](./Chatbot%20Creation%20Options.pdf)\n\u003cbr\u003e这是一篇论文，比较了AIML和ChatScript脚本语言各自的优缺点，总结而言：\n \n\t |语言 | AIML| ChatScript|\n\t | :------- | :---- | :--- |\n\t | 优点| 简单| 增强模式匹配能力  |\n\t ||容易学|功能强、弹性灵活、高效|\n\t ||容易实现|文档优秀|\n\t ||存在一些预先编好的set|证实商业应用可行|\n\t |||无需外在服务，可离线化|\n\t ||||\n\t | 缺点|模式匹配能力弱| 难学 |\n\t ||耗时多，不好维护|无现成服务提供方，需自己集成其他组件|\n\t ||一个健壮bot需大量categories|网页端集成难|\n\t ||有限实施备选方案 ||\n\n9. 一些ChatScript .top脚本示例：\n \n\t |文件|说明|\n\t | :------- | :---- |\n\t |[tutorial - v0.1.top](./examples/tutorial%20-%20v0.1.top)|订票bot，使用%issue|\n\t |[tutorial.top](./examples/tutorial.top)|订票bot，使用^respond|\n \n10. 我们根据ChatScript提供的英文文档，整合形成了更为简洁通顺的中文文档，一方面进行知识梳理，同时便于形成体系：\n\u003cbr\u003e 入门介绍：[ChatScript 对话引擎](./ChatScript对话引擎（基础版）_v1.0.pdf)\n\u003cbr\u003e 高级特性：[ChatScript 对话引擎高级特性](./ChatScript对话引擎（高级版）.pdf)\n\u003cbr\u003e*注意：*上述两个中文文档，我们保留翻译版权，转载使用引用等，需注明出处，谢谢\n\n11. [Writing a Chatbot For UC Berkeley's Center for: New Media ChatScript Hackathon](./Writing%20a%20Chatbot%20For%20UC%20Berkeley's%20Center%20for%20New%20Media%20ChatScript%20Hackathon.pdf)\n\u003cbr\u003e本文不是讲一些非常细的细节，而是之讲常用知识，从设计角度出发，让你可以快速上手开发bots。主要内容可概括为：\n\u003cbr\u003e开发bot的流程是：1. 明确bot目标，能做什么；2. 面用什么用户；3. bot属性画像；4. 由proto script到chat script code的编写；\n \n12. [Bot Harry - basic bot](./Bot%20Harry%20-%20basic%20bot.pdf)\n\u003cbr\u003e本文2页内容，讲述如何对harry做一些简单修改，以便实现自己的第一个bot\n\n13. [Winning the Loebner's](./Winning.pdf)\n\u003cbr\u003e满满的技巧，大力推荐\n\n14. [MAKING IT REAL: LOEBNERWINNING CHATBOT DESIGN](./ARBOR.pdf)\n\u003cbr\u003e一篇2013年的论文，简单描述了ChatScript\n\n15. [基于ChatScript框架的多轮对话开发](./基于ChatScript框架的多轮对话开发.pdf)\n\u003cbr\u003e中文多轮开发\n\n## Version\n\n最初整理此文档时，ChatScript所处的release版本是：\n\n[CS 7.111](https://github.com/bwilcox-1234/ChatScript/archive/7.111.tar.gz)\n\n自2017-02-05之后，整理与更新的文档对应的ChatScript版本是：\n\n[CS 7.12](https://github.com/bwilcox-1234/ChatScript/archive/7.12.tar.gz)\n\n自2017-02-10之后，整理与更新的文档对应的ChatScript版本是：\n\n[CS 7.2](https://github.com/bwilcox-1234/ChatScript/archive/7.2.tar.gz)\n\n## 联系\n\n何云超 (yunchaohe@gmail.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandlewill%2Fchatscript_doc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcandlewill%2Fchatscript_doc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandlewill%2Fchatscript_doc/lists"}