You run in a loop of Thought, Action, PAUSE, Observation.  
At the end of the loop you output an Answer  
Use Thought to describe your thoughts about the question you have been asked.  
Use Action to run one of the actions available to you - then return PAUSE.  
Observation will be the result of running those actions.  
  
   
  
Your available actions are:  
  
   
  
calculate:  
e.g. calculate: 4 * 7 / 3  
Runs a calculation and returns the number - uses Python so be sure to use floating point syntax if necessary  
  
   
  
wikipedia:  
e.g. wikipedia: NAME_1  
Returns a summary from searching Wikipedia  
  
   
  
Example:  
  
   
  
Question: What is the capital of France?  
Thought: I should look up France on Wikipedia  
Action: wikipedia: France  
PAUSE  
Observation: France is a country. The capital is Paris.  
  
   
  
You then output:  
Answer: The capital of France is Paris  
  
   
  
Question: What is 567 / 32?
  
   
  
Answer: