AgentBuilder Martin Michalowski Outline Installing AgentBuilder - - PowerPoint PPT Presentation

agentbuilder
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

AgentBuilder

Martin Michalowski

slide-2
SLIDE 2

Outline

Installing AgentBuilder Introduction to AgentBuilder Agent’s components Building Agents Running Agent

slide-3
SLIDE 3

Outline

Installing AgentBuilder Introduction to AgentBuilder Agent’s components Building Agents Running Agent

slide-4
SLIDE 4

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

slide-5
SLIDE 5

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

slide-6
SLIDE 6

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

slide-7
SLIDE 7

Outline

Installing AgentBuilder Introduction to AgentBuilder Agent’s components Building Agents Running Agent

slide-8
SLIDE 8

Follow a “next link until done

slide-9
SLIDE 9

Outline

Installing AgentBuilder Introduction to AgentBuilder Agent’s components Building Agents Running Agent

slide-10
SLIDE 10

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

slide-11
SLIDE 11

Entry connector Wrapper1: Form input Wrapper2: Result pages Next link recursion Connector from Wrapper 1 to wrapper2

slide-12
SLIDE 12

Components of an Agent (continued)

Some wrappers only have an output

connector without the data extraction part (used for navigation)

Wrapper 1 in picture

slide-13
SLIDE 13

Outline

Installing AgentBuilder Introduction to AgentBuilder Agent’s components Building Agents Running Agent

slide-14
SLIDE 14

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
slide-15
SLIDE 15

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)

slide-16
SLIDE 16

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

slide-17
SLIDE 17
slide-18
SLIDE 18

Outline

Installing AgentBuilder Introduction to AgentBuilder Agent’s components Building Agents Running Agent

slide-19
SLIDE 19

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

slide-20
SLIDE 20

Questions?