support yaml input_type