InterceptContext

data class InterceptContext<TFeature : Any>(val feature: AIAgentFeature<*, TFeature>, val featureImpl: TFeature)(source)

Represents the context for intercepting or interacting with a specific feature in an AI agent pipeline.

This context provides access to both the feature definition and its implementation, allowing for dynamic modifications or inspections during the pipeline execution process.

Parameters

TFeature

The type of the feature implementation associated with the context.

Constructors

Link copied to clipboard
constructor(feature: AIAgentFeature<*, TFeature>, featureImpl: TFeature)

Properties

Link copied to clipboard

The feature definition, which provides the functionality and configuration capabilities.

Link copied to clipboard

The specific implementation of the feature being executed or intercepted.