Package com.axelor.ai.chat.plugin
Class MentionContextPlugin
java.lang.Object
com.axelor.ai.chat.plugin.MentionContextPlugin
- All Implemented Interfaces:
ChatPlugin
Resolves structured user mentions into trusted model context.
-
Method Summary
Modifier and TypeMethodDescriptiononRequest(ChatRequest request) Called before the loop starts.intpriority()Execution priority.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axelor.ai.chat.ChatPlugin
decorateProvider, decorateToolExecutor, decorateWriter, estimateInjectedTokens, onComplete, onError, onMessage
-
Method Details
-
priority
public int priority()Description copied from interface:ChatPluginExecution priority. Lower values run first. Default is 100.- Specified by:
priorityin interfaceChatPlugin
-
onRequest
Description copied from interface:ChatPluginCalled before the loop starts. May inspect or transform the request (e.g. resolve agent config, check rate limits).- Specified by:
onRequestin interfaceChatPlugin
-