code: def test_action_probs_prediction_type():
      model = Workspace(cb_explore=2, ngram=2, quiet=True)
      model.learn("1 | a b c")
      assert model.get_prediction_type() == model.pACTION_PROBS
      prediction = model.predict(" | a b c")
      assert isinstance(prediction, list)
      del model
  
imports: import os
  from pathlib import Path
  import vowpalwabbit
  from vowpalwabbit import Workspace
  import pytest
  import warnings
  import filecmp
label_desc: Use image node_id 8 for calling a global function with example usage: test_action_probs_prediction_type() without return types