接口 PromptTemplateFactory.Template

封闭接口:
PromptTemplateFactory

public static interface PromptTemplateFactory.Template
Interface for a prompt template.
  • 方法概要

    修饰符和类型
    方法
    说明
    render(Map<String,Object> variables)
    Render the template.
  • 方法详细资料

    • render

      String render(Map<String,Object> variables)
      Render the template.
      参数:
      variables - the variables to use.
      返回:
      the rendered template.