Method that selects a prompt based on a set of conditions. If none of the conditions are met, it returns the default prompt.
getPrompt(llm: BaseLanguageModelInterface): BasePromptTemplate| Name | Type | Description |
|---|---|---|
llm* | BaseLanguageModelInterface | The language model for which to get a prompt. |