# ivr **Repository Path**: doibest/ivr ## Basic Information - **Project Name**: ivr - **Description**: golang 开发的单机版ivr 画布 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2022-04-24 - **Last Updated**: 2022-04-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README This trunk is a ivr/dm related trunk, which can read a Json file and generate FSM(Finite State Machine). Then you can call related interace to generate dialog response. It is useful for robot dialog management. But it is just simple example. For input, you can refer 000001.json under examples folder, which illustrate the FSM. For output, you can build the binary. And test with test.sh under "examples" folder. If any question,you can contact me with email wwh05022@163.com. 本仓库旨在提供一个ivr/dm相关的学习仓库。本仓库读取一个Json 文件并且产生一个有限状态机。然后你就可以调用相关的interface去做会话管理的响应。 这个在机器人的会话管理中有用。这个只是提供了一个简单的例子,供人们学习。 你可以在”examples“ 目录找到Json输入文件000001.json。 你可以编译binary,在启动之后,用example 目录的 test.sh去测试它。 如果有任何疑问,欢迎给我发邮件,wwh05022@163.com. Interface introduction: /ivr/robot/publish This interface is to publish robot, when you generate or update Json file of Robot. /ivr/runtime This interface is for your dialog management. You can call it to do dialog management. 接口介绍 /ivr/robot/publish 机器人发布接口,当你编辑了机器人的Json描述文件,你可以调用这个接口用于重新产生机器人的状态机等。 /ivr/runtime 机器人对话接口,当你发布了机器之后,你就可以调用这个机器人去创建会话,并返回会话回复等。 Such Json description file is not a uniform format for learning machine FSM description. SCXML is a more popular standard, maybe we will support it later. 我们的这个Json文件是我们自定义的语法,不是通用的语法,也不是通用的机器人描述语言。 SCXML是一种更为通用的机器人语言。我们也许会在将来支持他。