def create_random_seq(character, action_metadata, direction, length=8):
  """"""
  start = tf.random.uniform([], maxval=action_metadata[1], dtype=tf.int32)
  return create_seq(character, action_metadata, direction, length, start)