do Transform
open fun <O> doTransform(prompt: String, interaction: LlmInteraction, outputClass: Class<O>, llmRequestEvent: LlmRequestEvent<O>?): O
Low level transform, not necessarily aware of platform This is a convenience overload that creates a UserMessage from a String prompt
Parameters
prompt
user prompt. Will become the last user message
interaction
The LLM call options
output Class
Class of the output object
llm Request Event
Event already published for this request if one has been
abstract fun <O> doTransform(messages: List<Message>, interaction: LlmInteraction, outputClass: Class<O>, llmRequestEvent: LlmRequestEvent<O>?): O
Low level transform, not necessarily aware of platform
Parameters
messages
messages
interaction
The LLM call options
output Class
Class of the output object
llm Request Event
Event already published for this request if one has been