Télécharger l'open source Bot Libre Community Edition et installer Bot Libre sur votre propre serveur
Bot Libre Forum

Website update - AIML 2.0, Self 2.0

par admin posté Jun 15 2015, 13:59

The website was updated today. The update included our initial AIML 2.0 support. Our AIML 2.0 support is still under development, so this is just a preview of some of the support.

The update also included several new Self functions and syntax as part of our Self 2.0 development.

The update also included some fixes and minor enhancements.

AIML 2.0

  • new zero to many word wildcards ^ and # (use ^ instead of * to match zero to n words, # is the same but with _ precedence semantics)
  • $ precedence operator (allows pattern to override _ or # precedence)
  • request and response tags (similar to input and that tags, but allow multi-line phrases)
  • topics now allowed to be defined inside category tag
  • var attribute for get, set, and condition tags to set local variables
  • loop tag to allow looping in conditional tags
  • element support for name, var, index, value attributes
  • explode, normalize, denormalize functions
  • learn and eval tags
AIML 2.0 support that has not been completed yet,
  • sets, maps
  • sraix
  • intervals
For more information on AIML 2.0 see the draft specification at,

https://docs.google.com/document/d/1wNT25hJRyupcG51aO89UcQEiG-HkXRXusukADpFnDs4/pub

If you noticed any bugs, or issues with our semantics, please reply, or email [email protected]

Self 2.0

Several new Self enhancements were also added. BOT libre translates AIML into Self, so any AIML feature will have some level of Self support.

  • uppercase, lowercase (i.e. uppercase :star)
  • format (allows several types of text formatting, i.e. format :star as #normalize)
  • input (return previous input for the speaker, i.e. input 2 for :speaker part 2)
  • learn (allows easy adding for new response, i.e. learn "why" that "why did the robot cross the road" template "to get to the other side"
  • while (support while loops, i.e. while (less(:value, 10)) do (assign :value to (get #next from :value))


Id: 974625
Tags: notice, website update, aiml, self
Posté: Jun 15 2015, 13:59
Réponses: 0
Vues: 4877, aujourd'hui: 1, semaine: 1, mois: 16
2 0 4.0/5