Uses of Record Class
com.tnsai.models.agent.Communication
Packages that use Communication
Package
Description
Agent classes and lifecycle management for the TnsAI framework.
Agent initialization and specification extraction.
BDI (Belief-Desire-Intention) model classes for agent reasoning.
Prompt building, templating, and management framework for LLM interactions.
-
Uses of Communication in com.tnsai.agents
Methods in com.tnsai.agents that return CommunicationMethods in com.tnsai.agents with parameters of type CommunicationModifier and TypeMethodDescriptionAgentBuilder.communication(Communication communication) Sets the communication style for the agent. -
Uses of Communication in com.tnsai.agents.init
Fields in com.tnsai.agents.init declared as CommunicationModifier and TypeFieldDescriptionfinal CommunicationAgentInitializer.InitializationResult.communicationMethods in com.tnsai.agents.init that return CommunicationModifier and TypeMethodDescriptionAgentSpecExtractor.getCommunication()Extracts communication configuration as runtime model.AgentInitializer.InitializerContext.getCommunicationTemplate() -
Uses of Communication in com.tnsai.models.agent
Methods in com.tnsai.models.agent that return CommunicationModifier and TypeMethodDescriptionstatic CommunicationCommunication.defaultStyle()Creates a default communication style. -
Uses of Communication in com.tnsai.prompt
Methods in com.tnsai.prompt with parameters of type CommunicationModifier and TypeMethodDescriptionstatic StringAgentPromptBuilder.buildContextualPrompt(String name, List<AgentIdentity> identities, Communication communication) Builds a prompt with identity and communication style only.static StringAgentPromptBuilder.buildSystemPrompt(String name, List<AgentIdentity> identities, Communication communication, List<Plan> plans, List<ErrorRecoveryScenario> errorRecoveryScenarios, List<String> toolActionNames) Builds a complete system prompt for an agent.static StringAgentPromptBuilder.buildSystemPrompt(String name, List<AgentIdentity> identities, Communication communication, List<Plan> plans, List<ErrorRecoveryScenario> errorRecoveryScenarios, List<String> toolActionNames, ModelFamily family) Family-aware overload (issue #13).