getPrompt method
Get default prompt for a language model.
Implementation
@override
BasePromptTemplate getPrompt(final BaseLanguageModel llm) {
for (final conditional in conditionals) {
if (conditional.condition(llm)) {
return conditional.prompt;
}
}
return defaultPrompt;
}