Post by Admin on Jun 1, 2015 18:01:55 GMT
Cell 931 is the cell used by Learning Mode, more details in the System
Cells section of the help file. The biggest difficulty in getting it to
work with other search engines is the way they present the information.
Google doesn't work, this is down to the way they provide the
information to the browser. The Ai downloads the search file from the
search engine then filters it using the EctractText function, if the
page is a normal html web page then a results file is created just
holding the raw text which the Ai can then work with.
StartAi.exe is designed to run the Ai after a few seconds. The keyword
restartai uses this to restart the program. When you run StartAi.exe it
runs the program, the second box is used to send a command to the
program when it runs.
The program Ai Browser is a simple browser that uses the Internet
Explorer windows API plug-in
The browser in the user window uses the same API but this is embedded
in the Ai program. The URL box uses the <uwtextin> tag to capture the
text then it activates the cell 340 which has the <uwbrowser> tag. When
a cell with the <uwbrowser> tag is activated then the text output of the
cell is sent to the browser controller at this point nothing is captured
but you could used the cell activation to write the text output to say a
text file or you could put "no say" in front of the text and feed this
into the input which would then recognise the phrase "no say" and
trigger the DT learning process. You could also add the tag <log> then
the output would be logged in the normal log file. The embedded browsers
aren't designed to compete with other more advanced browsers and they
lack some of the functionality.The browser functions security is
controlled through internet explorer but if you remove all <uwbrowser>
tags than the browser function isn't initialized. The only communication
from the browser function is the notifications.
The UDP functions might be more useful especially for direct
communication between Ai's also the ai can copy files to a new filename
so you wouldn't need a macro to do this also the ReadFile functions of
the Ai will read any file, if a line is longer than 255 characters you
might crash the Ai or it might ignore the line.
The UDP functions provide fast communication over networks this can
send information to any computer on the network to disable un tick the
Enable UDP in settings. Any transmission from UDP would appear in the
scroll output. The auto rx function defaults to the local network ip
number usually starting with 192.168 but its possible to make this
accessible to the internet using a dynamic domain name and a network hub
with port forwarding. You can use a host name in the tx box and the dns
server will resolve this to the ip number. The UDP functions are
protected by your systems security so you should be prompted by your
firewall before network access is allowed. FTP is another way of
transmitting information over networks.
No information is transmitted or received by the Ai unless its been set
up to do so. The firewall in settings is designed to stop any inputs
from activating a system call or running a program
The Ai Server program will serve text based files that don't have line
lengths longer than 255 characters long, data streams like images will
crash the server. There are free servers available that can serve
different types of files like images I use Apache. The Ai server will
only look for html files in its folder and will only serve those files
but changing the extension of say a text file will allow it to be
served. To download a file from the server you can use DownloadFileWait
or DownloadFile this function will download any file type. The list of
files to serve is created when the server program starts files added to
the folder wont be recognized until the next startup of the server.
I've done some tests running the Ai from a usb stick and it seems to
work fine.
If your planning to use any relays with the K8055 make sure you use a
diode across the coil terminals. This protects the board.
Cells section of the help file. The biggest difficulty in getting it to
work with other search engines is the way they present the information.
Google doesn't work, this is down to the way they provide the
information to the browser. The Ai downloads the search file from the
search engine then filters it using the EctractText function, if the
page is a normal html web page then a results file is created just
holding the raw text which the Ai can then work with.
StartAi.exe is designed to run the Ai after a few seconds. The keyword
restartai uses this to restart the program. When you run StartAi.exe it
runs the program, the second box is used to send a command to the
program when it runs.
The program Ai Browser is a simple browser that uses the Internet
Explorer windows API plug-in
The browser in the user window uses the same API but this is embedded
in the Ai program. The URL box uses the <uwtextin> tag to capture the
text then it activates the cell 340 which has the <uwbrowser> tag. When
a cell with the <uwbrowser> tag is activated then the text output of the
cell is sent to the browser controller at this point nothing is captured
but you could used the cell activation to write the text output to say a
text file or you could put "no say" in front of the text and feed this
into the input which would then recognise the phrase "no say" and
trigger the DT learning process. You could also add the tag <log> then
the output would be logged in the normal log file. The embedded browsers
aren't designed to compete with other more advanced browsers and they
lack some of the functionality.The browser functions security is
controlled through internet explorer but if you remove all <uwbrowser>
tags than the browser function isn't initialized. The only communication
from the browser function is the notifications.
The UDP functions might be more useful especially for direct
communication between Ai's also the ai can copy files to a new filename
so you wouldn't need a macro to do this also the ReadFile functions of
the Ai will read any file, if a line is longer than 255 characters you
might crash the Ai or it might ignore the line.
The UDP functions provide fast communication over networks this can
send information to any computer on the network to disable un tick the
Enable UDP in settings. Any transmission from UDP would appear in the
scroll output. The auto rx function defaults to the local network ip
number usually starting with 192.168 but its possible to make this
accessible to the internet using a dynamic domain name and a network hub
with port forwarding. You can use a host name in the tx box and the dns
server will resolve this to the ip number. The UDP functions are
protected by your systems security so you should be prompted by your
firewall before network access is allowed. FTP is another way of
transmitting information over networks.
No information is transmitted or received by the Ai unless its been set
up to do so. The firewall in settings is designed to stop any inputs
from activating a system call or running a program
The Ai Server program will serve text based files that don't have line
lengths longer than 255 characters long, data streams like images will
crash the server. There are free servers available that can serve
different types of files like images I use Apache. The Ai server will
only look for html files in its folder and will only serve those files
but changing the extension of say a text file will allow it to be
served. To download a file from the server you can use DownloadFileWait
or DownloadFile this function will download any file type. The list of
files to serve is created when the server program starts files added to
the folder wont be recognized until the next startup of the server.
I've done some tests running the Ai from a usb stick and it seems to
work fine.
If your planning to use any relays with the K8055 make sure you use a
diode across the coil terminals. This protects the board.