text: **A**and**B**are the only mandatory arguments to the init_aif function—the other arguments 
  are keyword arguments that default to uniform priors.**A**,**B**,**C**,**D**and**E**and their corre- 
  sponding Dirichlet priors, in the cases of**A**,**B**and**D**, should be formatted as standard 
  array objects. All but**E**can have multiple modalities/factors (see Section 4), so they should 
  be formatted as vectors of arrays with one array per modality/factor. These arrays can be 
  hand-specified by the user, or be generated with some of the helper functions supplied by 
  ActiveInference. Here, we create an AIF agent equipped with a generative model with 
  six environmental states, five possible observations and two possible actions. Here, we use 
  helper functions to create matrices and vectors with the correct dimensions; in Section 4, we 
  create them manually. First, we define the number of states, observations, controls and the 
  length of policies: 
  (cid:7)  (cid:4) 
  
  # Information about number of states , observations , actions and policy length 
  states 
  observations = [5] # Five observations , single modality 
  controls 
  policy_length = 1 