install
fun <TConfig : FeatureConfig> install(feature: AIAgentFunctionalFeature<TConfig, *>, configure: ConfigureAction<TConfig>): FunctionalAgentBuilder<Input, Output>(source)
Installs and configures a given feature into the functional agent builder.
Return
the current FunctionalAgentBuilder instance for chaining further configurations.
Parameters
feature
the feature to be installed, represented by an implementation of AIAgentFunctionalFeature.
configure
a lambda function to customize the configuration of the feature, where the provided TConfig can be modified.
Type Parameters
TConfig
the type of the feature configuration, which extends FeatureConfig.