convert

abstract fun convert(source: String): T?

Convert the LLM output string to the target type.