agentbuilder
play

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


  1. AgentBuilder Martin Michalowski

  2. Outline � Installing AgentBuilder � Introduction to AgentBuilder � Agent’s components � Building Agents � Running Agent

  3. Outline � Installing AgentBuilder � Introduction to AgentBuilder � Agent’s components � Building Agents � Running Agent

  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

  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

  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

  7. Outline � Installing AgentBuilder � Introduction to AgentBuilder � Agent’s components � Building Agents � Running Agent

  8. Follow a “next link until done

  9. Outline � Installing AgentBuilder � Introduction to AgentBuilder � Agent’s components � Building Agents � Running Agent

  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

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

  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

  13. Outline � Installing AgentBuilder � Introduction to AgentBuilder � Agent’s components � Building Agents � Running Agent

  14. Building Agents Define an entry connector 1. Navigate using wrapper’ connectors to the 2. page that we want to extract data -through anchor links -through form input

  15. Building Agents (continue) When you reach the wrapper that contains 3. a page you want to extract the data Define a data schema 1. Mark pages for training 2. For each extraction wrapper, try to have at least 3 1. marked pages for training Learn Extraction Rules 3. Check Extracted Data 4. Define output connector (if needed) 5.

  16. Building Agents (continue..) Save the agent and generate a plan 4. � Customize where to save your agent � In Tools � Options � Repositories � Or set in agent properties

  17. Outline � Installing AgentBuilder � Introduction to AgentBuilder � Agent’s components � Building Agents � Running Agent

  18. 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

  19. Questions?

Recommend


More recommend