Uses of Interface
org.springframework.ai.tool.toolsearch.eviction.ToolIndexEvictionStrategy
Packages that use ToolIndexEvictionStrategy
Package
Description
Tool Search Tool Advisor package for dynamic tool discovery and search capabilities.
-
Uses of ToolIndexEvictionStrategy in org.springframework.ai.chat.client.advisor.toolsearch
Methods in org.springframework.ai.chat.client.advisor.toolsearch with parameters of type ToolIndexEvictionStrategyModifier and TypeMethodDescriptionToolSearchToolCallingAdvisor.Builder.evictionStrategy(ToolIndexEvictionStrategy evictionStrategy) Sets the eviction strategy that determines when session tool indexes are cleared from the advisor's cache.Constructors in org.springframework.ai.chat.client.advisor.toolsearch with parameters of type ToolIndexEvictionStrategyModifierConstructorDescriptionprotectedToolSearchToolCallingAdvisor(ToolCallingManager toolCallingManager, int advisorOrder, ToolExecutionEligibilityChecker toolExecutionEligibilityChecker, ToolIndex toolIndex, String systemMessageSuffix, boolean referenceToolNameAccumulation, @Nullable Integer maxResults, boolean conversationHistoryEnabled, String sessionIdKeyName, ToolIndexEvictionStrategy evictionStrategy) -
Uses of ToolIndexEvictionStrategy in org.springframework.ai.tool.toolsearch.eviction
Classes in org.springframework.ai.tool.toolsearch.eviction that implement ToolIndexEvictionStrategyModifier and TypeClassDescriptionfinal classAToolIndexEvictionStrategythat clears a session's tool index before every request, ensuring tools are always re-indexed on each conversation turn.final classAToolIndexEvictionStrategythat delegates to multiple strategies and unions their eviction decisions.final classAToolIndexEvictionStrategythat evicts the least-recently-used session when the number of concurrently active sessions exceeds a configured maximum.final classAToolIndexEvictionStrategythat never evicts sessions automatically.final classAToolIndexEvictionStrategythat evicts sessions whose last-access time is older than a configured time-to-live (TTL).Constructors in org.springframework.ai.tool.toolsearch.eviction with parameters of type ToolIndexEvictionStrategyModifierConstructorDescriptionCompositeEvictionStrategy(ToolIndexEvictionStrategy... strategies) Creates a composite strategy from the given delegates.