MentDB, The digital brain.  About us Home
Back / All functions / Bot

Bot.

bot showbot createbot removebot existbot aiml setbot executebot aiml remove

bot show

Description

    To show all bots.

admin
bot show
mentdb
["lisa"]

bot create <botName>

Description

    To create a new bot.

Parameters

    botName:   The bot name - string - required
admin
bot create "bob"
mentdb
1

bot remove <botName>

Description

    To remove a bot.

Parameters

    botName:   The bot name - string - required
admin
bot remove "bob"
mentdb
1

bot exist <botName>

Description

    To check if a bot already exist.

Parameters

    botName:   The bot name - string - required
admin
bot exist "bob"
mentdb
1

bot aiml set <botName> <filename> <xml>

Description

    To set (overwrite) a new AIML file.

Parameters

    botName:   The bot name - string - required
    filename:   The AIML filename - string - required
    xml:   The XML file in AIML format - string - required
admin
bot aiml set "bob" "hello.aiml" " BONJOUR MERCI COMMENT SA VAS "
mentdb
1

bot execute <botName> <user> <sentence>

Description

    To execute a string.

Parameters

    botName:   The bot name - string - required
    user:   The current user - string - required
    sentence:   The sentence - string - required
admin
bot execute "bob" "admin" "how are you ?"
mentdb
I'm fine.

bot aiml remove <botName> <filename>

Description

    To set (overwrite) a new AIML file.

Parameters

    botName:   The bot name - string - required
    filename:   The AIML filename - string - required
admin
bot aiml remove "bob" "hello.aiml"
mentdb
1




© 2012 - 2019 - Innov-AI.