Package neqsim.util.annotation
package neqsim.util.annotation
Annotations for AI/ML integration.
This package provides annotations that help AI agents discover and understand NeqSim's API. Methods and classes marked with these annotations can be automatically discovered and their metadata used to generate structured prompts or documentation.
Available Annotations:
AIExposable- Mark classes/methods as AI-accessibleAIParameter- Document method parameters
Usage:
// Discover all AI-exposed methods
AISchemaDiscovery discovery = new AISchemaDiscovery();
List<MethodSchema> methods = discovery.discoverMethods(SystemInterface.class);
// Generate prompt for AI
String prompt = discovery.generatePrompt("flash calculation");
- Since:
- 1.0
-
ClassDescriptionMarks a class, method, or field as exposed for AI/ML integration.Documents a parameter for AI consumption.Discovers and documents AI-exposed NeqSim functionality.Schema for a discovered method.Schema for a method parameter.