llmModel

expect open override fun llmModel(model: LLModel): AIAgentBuilder(source)

Sets the LLModel instance to be used by the builder.

This method configures the builder with a specified Large Language Model (LLM), representing the model's provider, identifier, capabilities, and constraints such as context length or maximum output tokens.

Return

The current instance of the Builder for chaining additional configurations.

Parameters

model

The LLModel instance representing the large language model to set.

actual open override fun llmModel(model: LLModel): AIAgentBuilder(source)

Sets the LLModel instance to be used by the builder.

This method configures the builder with a specified Large Language Model (LLM), representing the model's provider, identifier, capabilities, and constraints such as context length or maximum output tokens.

Return

The current instance of the Builder for chaining additional configurations.

Parameters

model

The LLModel instance representing the large language model to set.

actual open override fun llmModel(model: LLModel): AIAgentBuilder(source)

Sets the LLModel instance to be used by the builder.

This method configures the builder with a specified Large Language Model (LLM), representing the model's provider, identifier, capabilities, and constraints such as context length or maximum output tokens.

Return

The current instance of the Builder for chaining additional configurations.

Parameters

model

The LLModel instance representing the large language model to set.