接口 PromptTemplateFactory
public interface PromptTemplateFactory
A factory for creating prompt templates.
-
嵌套类概要
嵌套类修饰符和类型接口说明static interfaceInterface for input for the factory.static interfaceInterface for a prompt template. -
方法概要
修饰符和类型方法说明Create a new prompt template.
-
方法详细资料
-
create
Create a new prompt template.- 参数:
input- the input to the factory.- 返回:
- the prompt template.
-