PromptCondition.isLlm constructor
PromptCondition.isLlm(
- BasePromptTemplate prompt
A prompt for a language mode that is an LLM.
Implementation
factory PromptCondition.isLlm(final BasePromptTemplate prompt) {
return PromptCondition(
condition: (final BaseLanguageModel llm) => llm is BaseLLM,
prompt: prompt,
);
}