ご存知でしたボットのリブレー無料主催の 問題追跡 のためにお客様ご自身のウェブサイトまたはモバイルアプリのか?
Bot Libre Forum

Can i use notepad to make aml script

による bobred 掲載 May 4 2017, 11:31

Can i use notepad to make aml script?

What extension do i use for the notepad file?


by admin posted May 4 2017, 12:48
Yes, you can edit AIML in notepad or any text editor. Normally the .aiml extension is used for AIML files.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 265, today: 0, week: 0, month: 9

by bobred posted May 4 2017, 13:11

Is the aiml right?

 

<aiml>

       <category>

       <pattern>Is[an a] [cat dog horse kangaroo lion snake alligator crocodile cheetah rat shark squid bat lemur eagle condor eel] an animal<pattern>

<template>Yes it is.<template>

      <category>

<aiml> 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 254, today: 0, week: 0, month: 6

by admin posted May 4 2017, 15:53
Nope, XML requires '/' on the end of tags.
<aiml> <category> <pattern>Is[an a] [cat dog horse kangaroo lion snake alligator crocodile cheetah rat shark squid bat lemur eagle condor eel] an animal</pattern> <template>Yes it is.</template> </category> </aiml>

Updated: May 4 2017, 15:53
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 237, today: 0, week: 0, month: 6

by bobred posted May 4 2017, 18:34

Could not make it work.I imported it as aiml script but it did not work.And i put it in a notepad file with the extension aiml.

 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 282, today: 0, week: 0, month: 5

by admin posted May 5 2017, 10:42
The image you attached is not readable.
What error are you getting?

For learning how to use AIML see,
https://www.botlibre.com/forum-post?id=28654

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 306, today: 0, week: 0, month: 8

by bobred posted May 5 2017, 12:16

I made a screenshot of it.Is there anyway to enlarge it?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 253, today: 0, week: 0, month: 8

by admin posted May 5 2017, 21:17
Attach it as a file to the post, or email it to support@botlibre.com

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 259, today: 0, week: 0, month: 6

by bobred posted May 6 2017, 10:02

Here is the aiml and the error file.I am having trouble with my chatbot answering all the question when i import it as a chatlog for some reason.errors.txt

my animals.aiml.txt


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 313, today: 0, week: 1, month: 10

by admin posted May 8 2017, 9:14
Which bot are you importing the file into?

The file looks correct, as long as you import it as an AIML file, ensure you are importing it as AIML not response list, chat log , or Self.

Also, you have enabled learning for your bot, and have corrupted their response. Learning should be disabled, otherwise your bot will learn every response as a new response. You will need to reset your bot, create a new bot, or clean up its response from its Training & Chat Logs page.

See,
https://www.botlibre.com/forum-post?id=483549

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 326, today: 0, week: 1, month: 8

by bobred posted May 8 2017, 10:36

i imported the aiml script as a chat log.someone said i could do that. It has the extension aiml.You can browse the chatbot browse webpage of this websight.Then you will

my chatbot which is named blair.That is the one i am importing my aiml script into.I made about three or four that are public.I was using brainbot as a template because 

i wanted it's knowledge.I changed it's voice and avatar.It made it easier.I guess it is a mod. 

 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 313, today: 0, week: 0, month: 6

by admin posted May 8 2017, 12:44
Sometimes it is better to import AIML as a script, from your bot's Scripts page.

You can also import it from the Training & Chat Logs page, but you must select "AIML" as the format.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 257, today: 0, week: 0, month: 6

by bobred posted May 9 2017, 14:05

That does not even work anymore.I cannot import it that way.Here is my file.my animals.aiml.txt


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 322, today: 0, week: 0, month: 7

by admin posted May 9 2017, 14:32
I fixed your bot,

https://www.botlibre.com/browse?id=16920810

To have this script and verified that it works.
You can see the script "aiml" under Scripts.

I also disabled learning in the bot, and deleted its garbage responses you had added because you had learning enabled.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 373, today: 0, week: 0, month: 8

by bobred posted May 9 2017, 16:56

Okay that works.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 345, today: 0, week: 0, month: 9

Id: 16920821
掲載: May 4 2017, 11:31
回答: 14
眺望: 381, 今日の: 1, 週間: 2, 月: 8

フラグとしての攻撃、または違反のサイトのルール