DispatcherProperties

data class DispatcherProperties(val type: KoogSpringAiEmbeddingProperties.DispatcherType = DispatcherType.AUTO, val parallelism: Int = 0)(source)

Dispatcher settings for blocking Spring AI model calls.

Constructors

Link copied to clipboard
constructor(type: KoogSpringAiEmbeddingProperties.DispatcherType = DispatcherType.AUTO, parallelism: Int = 0)

Properties

Link copied to clipboard

Maximum parallelism for the dispatcher. When greater than 0 and DispatcherType.IO is selected, Dispatchers.IO.limitedParallelism(parallelism) is used instead of the unbounded Dispatchers.IO.

Link copied to clipboard