Companion
Properties
Functions
Link copied to clipboard
Constructs a new Prompt instance by applying the provided initialization logic to a PromptBuilder.
fun build(id: String, params: LLMParams = LLMParams(), clock: Clock = Clock.System, init: PromptBuilder.() -> Unit): Prompt
Builds a Prompt
object using the specified identifier, parameters, and initialization logic.