createObject

fun <T> createObject(outputClass: Class<T>, model: Map<String, Any>, interactionId: String? = null): T

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