Class BasePromptSelector
java.lang.Object
com.hw.langchain.chains.prompt.selector.BasePromptSelector
- Direct Known Subclasses:
ConditionalPromptSelector
- Author:
- HamaWhite
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract BasePromptTemplate
Get default prompt for a language model.
-
Constructor Details
-
BasePromptSelector
public BasePromptSelector()
-
-
Method Details
-
getPrompt
Get default prompt for a language model.- Parameters:
llm
- The BaseLanguageModel object.- Returns:
- The BasePromptTemplate object representing the default prompt.
-