AgentBuilder Martin Michalowski Outline Installing AgentBuilder - - PowerPoint PPT Presentation
AgentBuilder Martin Michalowski Outline Installing AgentBuilder - - PowerPoint PPT Presentation
AgentBuilder Martin Michalowski Outline Installing AgentBuilder Introduction to AgentBuilder Agents components Building Agents Running Agent Outline Installing AgentBuilder Introduction to AgentBuilder Agents
Outline
Installing AgentBuilder Introduction to AgentBuilder Agent’s components Building Agents Running Agent
Outline
Installing AgentBuilder Introduction to AgentBuilder Agent’s components Building Agents Running Agent
Installing AgentBuilder
You will receive instructions on how to
download FetchAgentBuilder through email
If you signed the license agreement
Download fp_setup_2.2_29_31_16_13.msi
Warning: 87 Mb
Optional: Download jakarta-tomcat-5.0.27.zip
Warning: 13 Mb
Installing AgentBuilder
Install Tomcat (make sure the NT Service option is
not selected), then AgentBuilder
Configure AgentBuilder
AgentRunner Properties (enter license key) Make allow_show_result = true for debugging mode Setup preference: point CATALINA_HOME to tomcat directory Cmd_line_start_dir= your agent directory Web Application: modify value in <param-value> for
AgentRunner password
Testing AgentRunner
If the “Start AgentRunner” window stays open
then you’re done.
Otherwise
You have another instance of Tomcat running as
a Service
stop that Service
Make sure your properties are set correctly
If you have ZoneAlarm, make sure you allow
AgentBuilder/Runner, Tomcat, and Java to access the Internet
Outline
Installing AgentBuilder Introduction to AgentBuilder Agent’s components Building Agents Running Agent
Follow a “next link until done
Outline
Installing AgentBuilder Introduction to AgentBuilder Agent’s components Building Agents Running Agent
Components in an Agent
- 1. Entry connector: defines the URL for the
agent to start with
- 2. Wrapper
Data Schema: defines what data to extract Connector: defines what pages are output
- 3. Connector: can be defined as
Anchor (http links). A link to access the next URL Form input: inputs to a form are required to
access the next URL
Entry connector Wrapper1: Form input Wrapper2: Result pages Next link recursion Connector from Wrapper 1 to wrapper2
Components of an Agent (continued)
Some wrappers only have an output
connector without the data extraction part (used for navigation)
Wrapper 1 in picture
Outline
Installing AgentBuilder Introduction to AgentBuilder Agent’s components Building Agents Running Agent
Building Agents
1.
Define an entry connector
2.
Navigate using wrapper’ connectors to the page that we want to extract data
- through anchor links
- through form input
Building Agents (continue)
3.
When you reach the wrapper that contains a page you want to extract the data
1.
Define a data schema
2.
Mark pages for training
1.
For each extraction wrapper, try to have at least 3 marked pages for training
3.
Learn Extraction Rules
4.
Check Extracted Data
5.
Define output connector (if needed)
Building Agents (continue..)
4.
Save the agent and generate a plan
Customize where to save your agent
In Tools Options Repositories Or set in agent properties
Outline
Installing AgentBuilder Introduction to AgentBuilder Agent’s components Building Agents Running Agent
Running Agents
To host the wrapper
Start AgentRunner Go to http://localhost:8080/agent/admin/list
Default username/password is
admin/Theseus$admin8
Enable your newly created Agent Click on Execute Fill out the parameter(s), if any, and run Fix errors if any Save, regenerate the plan, and reload agents