Interface TemplateProvider

  • All Implemented Interfaces:

    
    public interface TemplateProvider
    
                        

    Object that can provide templates through a logical name. Creates an abstraction so that different implementations can choose probabilistic or other methods to map logical names to template resources. Templates for a given name must fulfil the same contract, taking the same variables (or a subset of) and producing the same output. Typically used to source prompts for interactions with LLMs.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract CompiledTemplate resolveTemplate(String logicalName) Create system prompt for knowledge graph extraction
      • Methods inherited from class java.lang.Object

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