Setting BOT properties in AIML

五迷三道 提交于 2019-12-04 21:37:14

As the AIML 2.0 working draft said:

The AIML standard does not specify where or how the properties, sets, maps, substitutions and predicates are defined. This is an implementation detail left up to the interpreter designer.

As an example, I am working with program-ab which is a Java implementation of the AIML interpreter.

The properties info of a bot is placed in a file named config/properties.txt.

The format is like:

name: Alice
age: 22
gender: female

You can find more info about the program-ab configurations at Configuration.wiki.

If you are working with other kinds of implementation such as Python or whatever, the properties file path and its format may be found inside the wiki or docs.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!