Interface: TextGenerationPromptTemplateProvider<TARGET_PROMPT>
Type parameters
Name |
---|
TARGET_PROMPT |
Methods
chat
▸ chat(): TextGenerationPromptTemplate
<ChatPrompt
, TARGET_PROMPT
>
Returns
TextGenerationPromptTemplate
<ChatPrompt
, TARGET_PROMPT
>
Defined in
packages/modelfusion/src/model-function/generate-text/prompt-template/PromptTemplateProvider.ts:8
instruction
▸ instruction(): TextGenerationPromptTemplate
<InstructionPrompt
, TARGET_PROMPT
>
Returns
TextGenerationPromptTemplate
<InstructionPrompt
, TARGET_PROMPT
>
Defined in
packages/modelfusion/src/model-function/generate-text/prompt-template/PromptTemplateProvider.ts:7
text
▸ text(): TextGenerationPromptTemplate
<string
, TARGET_PROMPT
>
Returns
TextGenerationPromptTemplate
<string
, TARGET_PROMPT
>
Defined in
packages/modelfusion/src/model-function/generate-text/prompt-template/PromptTemplateProvider.ts:6