Обновление Platinum обслуживание и давайте строить свой бот для вас
Help : Uploading set data in the context of AIML 2.0

RE: Uploading set data in the context of AIML 2.0

по admin опубликовано Sep 22 2016, 8:59

The AIML spec does not give a standard for set files. We do not currently support importing the PandoraBots set file format, but are looking into adding support for this.

You can import data files from your bot's Knowledge page in its Admin Console.
Currently you can import JSON and CSV (comma separated values) files. We are also planning to add support for import XML data files.

Bot Libre's has a much more sophisticated concept of data files than AIML. Your bot has its own object oriented knowledge base where it can store and process complex data. Bot Libre interprets AIML sets as a class relationship using the #instantiation relationship. Words are related to their objects using the #meaning relationship.

For example the word "red" would have the #meaning #red, and #red would be an #instantiation of #color. Then "red" would be in the "color" set for AIML. This is a little complex, but allows real world data to be modeled.

In JSON this would be,

{#data : #red, instantiation : #color, word : "red"} {#data : "red", instantiation : #word, meaning : #red}


Here is an example colors set data file in JSON, you can download this file and import it from your bot's Knowledge page.

https://www.botlibre.com/script?id=14047448


Идентификатор: 14047506
Теги: sets, aiml, data, json
Опубликовано: Sep 22 2016, 8:59
Обновлено: Sep 22 2016, 9:01
Ответы: 0
Вид: 1435, сегодня: 1, неделю: 2, месяц: 6
Я уверен, что
Вывесить флаг как оскорбительное, или в нарушение правил сайта