is_textual_span_type

def is_textual_span_type(span_type: SPAN_TYPE) -> bool
Check if the span type has a string-based input and output. Arguments:
  • span_type: The type of span
Returns: bool: True if the span type has a string-based input and output, False otherwise

is_concludable_span_type

def is_concludable_span_type(span_type: SPAN_TYPE) -> bool
Check if the span type requires conclusion (via conclude()). Arguments:
  • span_type: The type of span
Returns: bool: True if the span type requires conclusion, False otherwise