Interface PromptTemplateFactory.Template

Enclosing interface:
PromptTemplateFactory

public static interface PromptTemplateFactory.Template
Interface for a prompt template.
  • Method Summary

    Modifier and Type
    Method
    Description
    render(Map<String,Object> variables)
    Render the template.
  • Method Details

    • render

      String render(Map<String,Object> variables)
      Render the template.
      Parameters:
      variables - the variables to use.
      Returns:
      the rendered template.