langchain_experimental.rl_chain.base
.AutoSelectionScorer¶
- class langchain_experimental.rl_chain.base.AutoSelectionScorer[source]¶
Bases:
SelectionScorer
[Event
],BaseModel
Auto selection scorer.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- param prompt: Optional[BasePromptTemplate] = None¶
- param scoring_criteria_template_str: Optional[str] = None¶
- static get_default_prompt() ChatPromptTemplate [source]¶
- Return type
- static get_default_system_prompt() SystemMessagePromptTemplate [source]¶
- Return type