createObject

fun <T> createObject(outputClass: Class<T>, model: Map<String, Any>): T

Create an object of the given type using the given model to render the template and LLM options from context