Uses of Class
com.tnsai.metadata.ToolExampleSpec
Packages that use ToolExampleSpec
Package
Description
Metadata extraction and representation for actions, tools, and roles.
-
Uses of ToolExampleSpec in com.tnsai.metadata
Methods in com.tnsai.metadata that return ToolExampleSpecModifier and TypeMethodDescriptionstatic ToolExampleSpecToolExampleSpec.from(ToolExample annotation) Factory method to create from annotation.Methods in com.tnsai.metadata that return types with arguments of type ToolExampleSpecModifier and TypeMethodDescriptionActionMetadata.getExamples()Gets all usage examples (positive and negative) in declaration order.ActionMetadata.getNegativeExamples()Gets the negative (bad) examples.ActionMetadata.getPositiveExamples()Gets the positive (good) examples. -
Uses of ToolExampleSpec in com.tnsai.prompt.format
Method parameters in com.tnsai.prompt.format with type arguments of type ToolExampleSpecModifier and TypeMethodDescriptionstatic voidPromptFormat.renderExamples(StringBuilder out, List<ToolExampleSpec> examples, String indent) Append a `@ToolExample` block for an action — positive examples underExamples:, then negatives underAvoid (anti-patterns):.