ToolLoopFactory

fun interface ToolLoopFactory

Factory for creating ToolLoop instances.

Use companion object methods to obtain instances:

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun create(llmMessageSender: LlmMessageSender, objectMapper: <Error class: unknown class>, injectionStrategy: ToolInjectionStrategy, maxIterations: Int, toolDecorator: (Tool) -> Tool?): ToolLoop

Create a ToolLoop instance.