Object TypeSchemaExtractor

  • All Implemented Interfaces:

    
    public class TypeSchemaExtractor
    
                        

    Extracts type schema information for supervisor prompts.

    This helps the LLM understand what each action produces and what artifacts are available, enabling informed composition decisions without strict type-based constraints.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static String extractSchema(String typeName) Extract a human-readable schema description for a type.
      final static String extractSchema(KClass<?> klass) Extract schema from a Kotlin class.
      final static String buildActionSignature(Action action) Build action signature with schema info for the LLM.
      final static String buildArtifactsSummary(Blackboard blackboard, ObjectMapper objectMapper, Integer maxValueLength) Build a summary of current artifacts on the blackboard.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait