Uses of Enum Class
com.tnsai.prompt.ModelFamily
Packages that use ModelFamily
Package
Description
Prompt building, templating, and management framework for LLM interactions.
-
Uses of ModelFamily in com.tnsai.prompt
Methods in com.tnsai.prompt that return ModelFamilyModifier and TypeMethodDescriptionstatic ModelFamilyModelFamily.fromModelId(String modelId) Best-effort map from a model identifier string to a family.ModelFamily.orElse(ModelFamily other) Returnsotherifprimary == OTHER, elseprimary.static ModelFamilyReturns the enum constant of this class with the specified name.static ModelFamily[]ModelFamily.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.tnsai.prompt with parameters of type ModelFamilyModifier and TypeMethodDescriptionstatic 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).ModelFamily.orElse(ModelFamily other) Returnsotherifprimary == OTHER, elseprimary.