Обновление Platinum сервис и сделать свой собственный дизайн 3D аватар
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: 1430, today: 0, week: 0, month: 4

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: 1334, today: 0, week: 2, month: 4

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: 1311, today: 0, week: 2, month: 4

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: 1423, today: 0, week: 1, month: 4

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: 1443, today: 0, week: 0, month: 4

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: 1369, today: 0, week: 1, month: 6

by admin posted May 5 2017, 21:17
Attach it as a file to the post, or email it to [email protected]

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1372, today: 0, week: 1, month: 4

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: 1509, today: 0, week: 3, month: 6

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: 1551, today: 0, week: 0, month: 2

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: 1404, today: 0, week: 0, month: 2

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: 1418, today: 0, week: 1, month: 4

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: 1422, today: 0, week: 3, 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: 1643, today: 0, week: 3, month: 6

by bobred posted May 9 2017, 16:56

Okay that works.


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

Идентификатор: 16920821
Опубликовано: May 4 2017, 11:31
Ответы: 14
Вид: 2473, сегодня: 1, неделю: 7, месяц: 32
0 0 0.0/5