Manual:Verbot Editor Creating a KnowledgeBase Template
From VerbotWiki
What is a KnowledgeBase Template?
A KnowledgeBase Template is used to create data driven KnowledgeBases. The first step is to create a CSV file which contains the data you wish to access. Then create Template Rules to access the data.
What is a KnowledgeBase Template Rule?
A Template Rule is a Rule that has been setup to use CSV data to created new Rules. The new Rules are created when you click "Expand" or when the KnowledgeBase is compiled using "Compile KnowledgeBase" The following section assumes you completed the Creating a CSV file section and are ready to create a KnowledgeBase Template.
Creating a KnowledgeBase Template.
To begin creating a KnowledgeBase Template, open the Verbot Scripting Editor. Once the Verbot Scripting Editor is loaded it's time to make your first Template Rule. If you're not familiar with Rule creation you may want to review the Creating your First Rule section.
Create a new Rule using the following information:
Rule Name: Get Phone Number Input: What is #Name's phone number? Output: #Name's phone number is #Number.
You're screen should appear as shown below:
Now you have a Template Rule created it's time to assign a CSV file to the KnowledgeBase. Click the "Add Files" on the Resource Details panel shown below:
Locate the phone_book.cvs file you created in the Creating a CSV file section and click "Open" to add it to the Resource Files Details field.
Note: Multiple CSV files can be used within one KnowledgeBase.
At this point it's a good idea to save your KnowledgeBase.
Now that you have a Template Rule and a loaded CSV file it's time to Expand or Compile the KnowledgeBase.

