Actualización a nuestro Platinum servicio y obtener su propio diseño personalizado en 3D de avatar
Bot Libre Forum

Can i use notepad to make aml script

por bobred publicado 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: 1547, today: 0, week: 2, month: 8

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: 1458, today: 0, week: 1, month: 5

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

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

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

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

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: 1490, today: 0, week: 3, month: 5

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

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: 1698, today: 0, week: 1, month: 10

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: 1530, today: 0, week: 1, 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: 1566, today: 0, week: 1, month: 5

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: 1549, today: 0, week: 1, month: 5

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: 1776, today: 0, week: 1, month: 5

by bobred posted May 9 2017, 16:56

Okay that works.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1614, today: 1, week: 2, month: 6

Id: 16920821
Publicado: May 4 2017, 11:31
Respuestas: 14
Vistas: 2896, hoy: 2, la semana: 9, mes: 24
0 0 0.0/5