Interface TemplateProvider
-
- All Implemented Interfaces:
public interface TemplateProviderObject 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.
-
-
Method Summary
Modifier and Type Method Description abstract CompiledTemplateresolveTemplate(String logicalName)Create system prompt for knowledge graph extraction -
-
Method Detail
-
resolveTemplate
abstract CompiledTemplate resolveTemplate(String logicalName)
Create system prompt for knowledge graph extraction
-
-
-
-