Package dev.langchain4j.spi.prompt
Interface PromptTemplateFactory
-
- All Implemented Interfaces:
public interface PromptTemplateFactoryA factory for creating prompt templates.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePromptTemplateFactory.InputInterface for input for the factory.
public interfacePromptTemplateFactory.TemplateInterface for a prompt template.
-
Method Summary
Modifier and Type Method Description abstract PromptTemplateFactory.Templatecreate(PromptTemplateFactory.Input input)Create a new prompt template. -
-
Method Detail
-
create
abstract PromptTemplateFactory.Template create(PromptTemplateFactory.Input input)
Create a new prompt template.
- Parameters:
input- the input to the factory.- Returns:
the prompt template.
-
-
-
-