Uses of Class
com.tnsai.models.role.RoleIdentity
Packages that use RoleIdentity
Package
Description
Prompt building, templating, and management framework for LLM interactions.
Role definitions and capabilities for agents in the TnsAI framework.
Role export system for converting TnsAI roles to various formats.
Role metadata extraction from annotations and class definitions.
-
Uses of RoleIdentity in com.tnsai.prompt
Methods in com.tnsai.prompt with parameters of type RoleIdentityModifier and TypeMethodDescriptionstatic StringRolePromptBuilder.buildMinimalRolePrompt(RoleIdentity identity) Builds a minimal role prompt with just identity. -
Uses of RoleIdentity in com.tnsai.roles
Methods in com.tnsai.roles that return RoleIdentityModifier and TypeMethodDescriptionConfigurableRole.getIdentity()abstract RoleIdentityRole.getIdentity()Template method: Define the role's identity.final RoleIdentityRole.identity()Gets the role identity. -
Uses of RoleIdentity in com.tnsai.roles.export
Methods in com.tnsai.roles.export that return RoleIdentityModifier and TypeMethodDescriptionExportedRole.identity()Returns the value of theidentityrecord component.Constructors in com.tnsai.roles.export with parameters of type RoleIdentityModifierConstructorDescriptionExportedRole(RoleIdentity identity, List<RoleSpecExtractor.ResponsibilityInfo> autoResponsibilities, List<ActionMetadata> actions, List<RoleSpecExtractor.StateInfo> states, List<String> intentions, RoleSpecExtractor.LLMExportSpec llmSpec, Map<String, Object> annotations, String className, String version) Creates an instance of aExportedRolerecord class. -
Uses of RoleIdentity in com.tnsai.roles.metadata
Methods in com.tnsai.roles.metadata that return types with arguments of type RoleIdentityModifier and TypeMethodDescriptionstatic Optional<RoleIdentity> RoleSpecExtractor.extractIdentity(Class<?> clazz) RoleSpecExtractor.CachedRoleMetadata.identity()Returns the value of theidentityrecord component.Constructor parameters in com.tnsai.roles.metadata with type arguments of type RoleIdentityModifierConstructorDescriptionCachedRoleMetadata(Optional<RoleIdentity> identity, List<RoleSpecExtractor.ResponsibilityInfo> actionResponsibilities, List<RoleSpecExtractor.StateInfo> states, List<String> intentions, Optional<RoleSpecExtractor.LLMExportSpec> llmSpec) Creates an instance of aCachedRoleMetadatarecord class.