Uses of Record Class
com.tnsai.actions.model.ActionResponse
Packages that use ActionResponse
Package
Description
Typed models for action execution.
Agent classes and lifecycle management for the TnsAI framework.
Agent orchestration — chat, streaming, tool execution, and knowledge base management.
-
Uses of ActionResponse in com.tnsai.actions.model
Methods in com.tnsai.actions.model that return ActionResponseModifier and TypeMethodDescriptionstatic ActionResponseCreates a failure response with the given error message.static ActionResponseCreates a failure response with the given error message and partial value.static ActionResponseCreates a successful response with the given value. -
Uses of ActionResponse in com.tnsai.agents
Methods in com.tnsai.agents that return ActionResponseModifier and TypeMethodDescriptionfinal ActionResponseAgent.executeAction(ActionRequest request) Executes an action using a typed request.final ActionResponseAgent.executeAction(ActionRequest request, ChatRetrievalContext retrievalContext) Executes a typed action request with request-local retrieval context.final ActionResponseAgent.executeActionOnRole(String roleId, ActionRequest request) Executes a typed action on a specific role.final ActionResponseAgent.executeActionOnRole(String roleId, ActionRequest request, ChatRetrievalContext retrievalContext) Executes a typed role action with request-local retrieval context. -
Uses of ActionResponse in com.tnsai.agents.orchestration
Methods in com.tnsai.agents.orchestration that return ActionResponseModifier and TypeMethodDescriptionAgentOrchestrator.executeActionOnRoleTyped(String roleId, ActionRequest request) AgentOrchestrator.executeActionOnRoleTyped(String roleId, ActionRequest request, ChatRetrievalContext retrievalContext) AgentOrchestrator.executeActionTyped(ActionRequest request) AgentOrchestrator.executeActionTyped(ActionRequest request, ChatRetrievalContext retrievalContext) -
Uses of ActionResponse in com.tnsai.hooks.events
Methods in com.tnsai.hooks.events that return ActionResponseModifier and TypeMethodDescriptionPostAction.response()Returns the value of theresponserecord component.Methods in com.tnsai.hooks.events with parameters of type ActionResponseModifier and TypeMethodDescriptionPostAction.withResponse(ActionResponse newResponse) Build a copy withnewResponsereplacingPostAction.response.Constructors in com.tnsai.hooks.events with parameters of type ActionResponseModifierConstructorDescriptionPostAction(String eventId, Instant timestamp, HookContext context, ActionRequest request, ActionResponse response, ActionType type, Duration elapsed) Creates an instance of aPostActionrecord class.