install
abstract fun <TConfig : FeatureConfig> install(feature: AIAgentGraphFeature<TConfig, *>, configure: ConfigureAction<TConfig>): GraphAgentBuilder<String, String>(source)
Installs a graph-specific AI agent feature into the builder with its provided configuration.
This method allows the integration of an AIAgentGraphFeature into the builder and its configuration using a lambda function. The feature is then added to the list of feature installers, enabling its functionality within the AI agent being constructed.
Return
An instance of GraphAgentBuilder configured with the installed feature.
Parameters
TConfig
The type of the configuration for the feature, extending FeatureConfig.
feature
The AIAgentGraphFeature to be installed into the builder.
configure
A lambda function to configure the feature's properties and behavior.