Feature

Companion object implementing the AIAgentFeature interface for the MessageTokenizer feature. This feature integrates a message tokenizer into the agent pipeline, allowing for tokenization of input messages. It supports both caching and non-caching tokenization strategies based on the configuration.

Properties

Link copied to clipboard

A unique storage key used to identify the MessageTokenizer feature within the agent's feature storage. This key ensures that the MessageTokenizer instance can be retrieved or referenced when required during the lifecycle or operation of the agent.

Functions

Link copied to clipboard

Creates and returns the initial configuration for the MessageTokenizer feature.

Link copied to clipboard
open override fun install(config: MessageTokenizerConfig, pipeline: AIAgentPipeline)

Installs the MessageTokenizer feature into the given AI Agent pipeline.

Link copied to clipboard
open fun installUnsafe(config: Any?, pipeline: AIAgentPipeline)