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