withLlm

abstract fun withLlm(llm: <Error class: unknown class>): PromptRunner

Get a configurable PromptRunner for this context using the given LLM. Allows full control over LLM options.


open fun withLlm(model: String): PromptRunner

Get a configurable PromptRunner for this context choosing the given model by name and the default LLM options. Does not allow for any other LLM options to be set.