Class AISchemaDiscovery.ParameterSchema

java.lang.Object
neqsim.util.annotation.AISchemaDiscovery.ParameterSchema
All Implemented Interfaces:
Serializable
Enclosing class:
AISchemaDiscovery

public static class AISchemaDiscovery.ParameterSchema extends Object implements Serializable
Schema for a method parameter.
Version:
1.0
Author:
NeqSim
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • name

      private final String name
    • type

      private final String type
    • description

      private final String description
    • unit

      private final String unit
    • minValue

      private final double minValue
    • maxValue

      private final double maxValue
    • defaultValue

      private final String defaultValue
    • required

      private final boolean required
    • options

      private final String[] options
  • Constructor Details

    • ParameterSchema

      public ParameterSchema(String name, String type, String description, String unit, double minValue, double maxValue, String defaultValue, boolean required, String[] options)
      Constructor.
  • Method Details

    • getName

      public String getName()
    • getType

      public String getType()
    • toPromptText

      public String toPromptText()
      Convert to structured text for AI consumption.