withTemperature

fun withTemperature(temperature: Double?): LlmOptions

Create a copy with a default temperature for the LLM. If null, uses the default temperature for the model.